netty5/codec-http2/src
Moses Nakamura 94ab0dc442 codec-http2: Better keep track of nameLength in HpackDecoder.decode
Motivation:

http/2 counts header sizes somewhat inconsistently.  Sometimes, headers
which are substantively less than the header list size will be measured
as longer than the header list size.

Modifications:

Keep better track of the nameLength of a given name, so that we don't
accidentally end up reusing a nameLength.

Result:

More consistent measurement of header list size.

Fixes #7511.
2017-12-18 17:41:09 -08:00
..
main/java/io/netty/handler/codec/http2 codec-http2: Better keep track of nameLength in HpackDecoder.decode 2017-12-18 17:41:09 -08:00
test codec-http2: Better keep track of nameLength in HpackDecoder.decode 2017-12-18 17:41:09 -08:00