HTTP2: Validate dynamic table size updates (dotnet/corefx#39669)
authorCory Nelson <phrosty@gmail.com>
Mon, 29 Jul 2019 17:46:49 +0000 (10:46 -0700)
committerGitHub <noreply@github.com>
Mon, 29 Jul 2019 17:46:49 +0000 (10:46 -0700)
commitfa410ebdd82059d66816e445256bf56d004d508d
treeb4fc341e7420d5879879d46c2042128083e61ba0
parent84d96448887759e2f01389fa81bae479eea25358
HTTP2: Validate dynamic table size updates (dotnet/corefx#39669)

* Validate dynamic table size updates.
* Set dynamic table size to 0, to reduce a per-connection ~2048 byte allocation to a ~0 byte allocation.

Resolves dotnet/corefx#39666

Commit migrated from https://github.com/dotnet/corefx/commit/14b604c5fe52e0022881a0866bf39f344d247fd7
src/libraries/Common/tests/System/Net/Http/Http2LoopbackConnection.cs
src/libraries/System.Net.Http/src/Resources/Strings.resx
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/tests/FunctionalTests/HttpClientHandlerTest.Http2.cs