-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Get rid of StreamWriter usage in HTTP loopback server and fix HTTP/1.1 loopback implementation of SendResponseBodyAsync #47364
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
Conversation
Tagging subscribers to this area: @dotnet/ncl Issue DetailsThis is not needed, and causes some confusion in places in the tests. @wfurt @dotnet/ncl
|
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Connect.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the compilation failure, LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I think it is better to have string overload than depend on the writer. We'll just need to clean up remains references,
BTW I don't see past failures of SendAsync_WithZeroLengthHeaderName_Throws. So it may be related to the PR |
Yeah I think this PR expose a timing-related exception here. Pushed a fix for this. |
The StreamWriter usage is not needed, and the incorrect implementation of SendResponseBodyAsync is problematic.
@wfurt @dotnet/ncl