Allow Http2Connection header-related processing buffers to grow (dotnet/corefx#37337)
authorStephen Toub <stoub@microsoft.com>
Wed, 1 May 2019 20:53:28 +0000 (16:53 -0400)
committerGitHub <noreply@github.com>
Wed, 1 May 2019 20:53:28 +0000 (16:53 -0400)
commitbf219ee41cd940253ccbd3ed16e4f568fd0e1a2c
treec11e79f3f6ad67bc76fb89c7151e83e75d1aaa3f
parentd23e4c0c909316be98c13f88b591992aa1613e5e
Allow Http2Connection header-related processing buffers to grow (dotnet/corefx#37337)

They're currently hard-coded to have a max size.  We need to allow them to grow to deal with arbitrarily large headers. (Separately we'll want to enforce the max header size limit.)

Commit migrated from https://github.com/dotnet/corefx/commit/9bb0c8fd8865fc282ea44b67b0738ffbfef96410
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HPack/HPackDecoder.cs
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HPack/Huffman.cs
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Headers.cs
src/libraries/System.Net.Http/tests/FunctionalTests/HuffmanDecodingTests.cs