Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable keep-alive in HttpClient (backport dd-trace-dotnet 5810) #122

Conversation

bouwkast
Copy link
Contributor

This is a backport of the following PR from dd-trace-dotnet: DataDog/dd-trace-dotnet#5810

It appears that with .NET 6 there was a change in behavior for HttpClient and it can cause the following error show up:

System.Net.Http.HttpIOException: The response ended prematurely. (ResponseEnded)

There is a pending escalation that appears to be using this NuGet package and getting this error - which we initially thought was coming from dd-trace-dotnet.

Note: I didn't have push access here so had to fork and then PR.

@bouwkast bouwkast requested a review from a team as a code owner September 13, 2024 18:56
@StephenWakely StephenWakely merged commit e9bb2de into DataDog:master Sep 16, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants