Implement MaxResponseHeadersLength for HTTP2 (dotnet/corefx#38560)
authorCory Nelson <phrosty@gmail.com>
Wed, 26 Jun 2019 07:04:36 +0000 (00:04 -0700)
committerGitHub <noreply@github.com>
Wed, 26 Jun 2019 07:04:36 +0000 (00:04 -0700)
commit00b8e9362e334b47afd1ca7d13e5ac1bc8357166
treed9836c17bc421f6168977db2260d2838ac754cf1
parentb60e5175022c3495a8f7418dc6404253a8f95e0d
Implement MaxResponseHeadersLength for HTTP2 (dotnet/corefx#38560)

Implement MaxResponseHeadersLength for HTTP2. Resolves dotnet/corefx#35528.
Implement huffman-coded header support in Http2LoopbackServer.
Move HuffmanDecodingTests from functional to unit tests to avoid reflection.

Commit migrated from https://github.com/dotnet/corefx/commit/f0ec881bbb7945e35e3cf6862ea309b1143659f7
src/libraries/Common/tests/System/Net/Http/GenericLoopbackServer.cs
src/libraries/Common/tests/System/Net/Http/Http2LoopbackConnection.cs
src/libraries/Common/tests/System/Net/Http/HuffmanEncoder.cs [new file with mode: 0644]
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HPack/HPackDecoder.cs
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http2Connection.cs
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http2Stream.cs
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http2.cs
src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj
src/libraries/System.Net.Http/tests/UnitTests/HPack/HPackDecoderTest.cs
src/libraries/System.Net.Http/tests/UnitTests/HPack/HuffmanDecodingTests.cs [moved from src/libraries/System.Net.Http/tests/FunctionalTests/HuffmanDecodingTests.cs with 95% similarity]
src/libraries/System.Net.Http/tests/UnitTests/System.Net.Http.Unit.Tests.csproj