netty5/codec-http2/src/test
Julien Hoarau 61dba95091 Fix h2spec test 4.3 about invalid header block
Motivation:

HPackDecoder works on entire header block, we shouldn't encounter
incomplete header fields. If we do we should treat it as
a decoding error and according to the specification:

A decoding error in a header block MUST be treated as
a connection error (Section 5.4.1) of type COMPRESSION_ERROR.

Modifications:

* Check final state in HpackDecoder once we've decoded all the data.

Result:

* Throw a connection error if we receive incomplete header fields
* H2spec 4.3 tests all passes
2018-01-18 11:01:20 -08:00
..
java/io/netty/handler/codec/http2 Fix h2spec test 4.3 about invalid header block 2018-01-18 11:01:20 -08:00
resources/io/netty/handler/codec/http2/testdata Ensure the tests complete on java7 and java9 as well. 2017-09-04 20:20:04 +02:00