Do not drain HttpContentReadStream if the connection is disposed (#57287)
authorAnton Firszov <Anton.Firszov@microsoft.com>
Mon, 16 Aug 2021 13:59:10 +0000 (15:59 +0200)
committerGitHub <noreply@github.com>
Mon, 16 Aug 2021 13:59:10 +0000 (15:59 +0200)
commita3612a498b188d22cc7f33d7f0bf00a5f4157088
tree9116f60e548cd7c2221e8ec73109db22583c1207
parente81efc832ae56978ae26ff0dbf17cb5622cee735
Do not drain HttpContentReadStream if the connection is disposed (#57287)

Fixes #56159.
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ContentLengthReadStream.cs
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpContentReadStream.cs