Abort QPACK decompression when stream is reset.

Incorrect header acknowledgements are still detected in the wild.  QPACK
decompression is currently aborted in QuicStream::OnClose() (gated by
quic_abort_qpack_on_stream_close flag).  However, when a RESET_STREAM frame is
received closing the read side of the stream, it is possible that the write side
is still open and therefore OnClose() is not called immediately.

This CL destroys qpack_decoded_headers_accumulator_ in both places where a reset
stream instruction is sent on the decoder stream, making sure dynamic table
entries received later do not trigger sending a bogus header acknowledgement
instruction.

Protected by FLAGS_quic_reloadable_flag_quic_abort_qpack_on_stream_reset.

PiperOrigin-RevId: 343167912
Change-Id: Iad27fff7e3a78d62a4137312d4e79eff436eae98
3 files changed
tree: b712c5ced98723c4eb0f143ba7571b5540e5519a
  1. CONTRIBUTING.md
  2. LICENSE
  3. README.md
  4. common/
  5. epoll_server/
  6. http2/
  7. quic/
  8. spdy/
README.md

QUICHE

QUICHE (QUIC, Http/2, Etc) is Google‘s implementation of QUIC and related protocols. It powers Chromium as well as Google’s QUIC servers and some other projects. QUICHE is only supported on little-endian platforms.

Code can be viewed in CodeSearch in Quiche and is imported into Chromium.