[release/6.0] WinHttp: always read HTTP/2 streams to the end (#63346)
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Fri, 7 Jan 2022 16:37:14 +0000 (09:37 -0700)
committerGitHub <noreply@github.com>
Fri, 7 Jan 2022 16:37:14 +0000 (09:37 -0700)
commit201673a9c7a24d1a375533e185610bbef2a0459d
tree732b47b828e9f3d33a88e4c22bcf96069f94fe2c
parent25d2a1fa84a78aea644ad878481cb307855e60c2
[release/6.0] WinHttp: always read HTTP/2 streams to the end (#63346)

* tests

* enable WINHTTP_OPTION_REQUIRE_STREAM_END on request handles

* set WINHTTP_OPTION_REQUIRE_STREAM_END on the session handle

Co-authored-by: antonfirsov <antonfir@gmail.com>
src/libraries/Common/src/Interop/Windows/WinHttp/Interop.winhttp_types.cs
src/libraries/System.Net.Http.WinHttpHandler/src/System/Net/Http/WinHttpHandler.cs
src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/TrailingHeadersTest.cs
src/libraries/System.Net.Http/tests/FunctionalTests/SocketsHttpHandlerTest.cs