-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
17.0.1.Final
-
None
During the HTTP2 communication where HPACK is utilized, when client sends inappropriate huffman-encoded string containing EOS symbol, server side is supposed to respond with GOAWAY - compression error, although current implementation of Undertow simply continues and sends DATA frame instead. Relevant RFC section.
Note that this issue is probably present for long time in Undertow. Current test started to fail after recent fix in the test itself, see here.
Test output
HPACK: Header Compression for HTTP/2 5. Primitive Type Representations 5.2. String Literal Representation × 3: Sends a Huffman-encoded string literal representation containing the EOS symbol -> The endpoint MUST treat this as a decoding error. Expected: GOAWAY Frame (Error Code: COMPRESSION_ERROR) Connection closed Actual: DATA Frame (length:1496, flags:0x01, stream_id:1)
- is cloned by
-
UNDERTOW-2381 Invalid/benevolent hpack decoding of huffman-encoded string literal with EOS symbol
- Closed