Get rid of StreamWriter usage in HTTP loopback server and fix HTTP/1.1 loopback implementation of SendResponseBodyAsync#47364
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
stephentoub
left a comment
There was a problem hiding this comment.
Other than the compilation failure, LGTM.
wfurt
left a comment
There was a problem hiding this comment.
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