Enforce header list size limit in QpackDecodedHeadersAccumulator.

Move header list size limit enforcement from QuicHeaderList to
QpackDecodedHeadersAccumulator when using IETF QUIC.  This provides an explicit
signal, instead of having to rely on QuicHeaderList being empty.

Also change limit counting to account for 32 bytes of overhead per header field
as prescribed by the specification.  Keep |uncompressed_size| passed in to
QuicHeaderList without this overhead, just like it is when called from
HpackDecoder::ListenerAdapter (used for Google QUIC) and from AsHeaderList (used
for tests).

gfe-relnote: n/a, change to QUIC v99-only code.  Protected by existing disabled gfe2_reloadable_flag_quic_enable_version_99.
PiperOrigin-RevId: 282822239
Change-Id: If9b27ed3189cad5bfdb6be415196e7c0f2267a74
6 files changed
tree: faaaf77d55e21e140093612738ce410a0c36575b
  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.