Modify HTTP/2 varint encoder and decoder to support 8-bit prefixes.

This is necessary for QPACK for Largest Reference in Header Data Prefix, see
https://quicwg.org/base-drafts/draft-ietf-quic-qpack.html#rfc.section.4.5.1.

Fortunately all the logic trivially handles this case, only DCHECKs need to be
relaxed.

gfe-relnote: n/a  (Relax DCHECKs in production code and modify tests.)
PiperOrigin-RevId: 225873577
Change-Id: Ib29268cff712b48bfbb93cfb130b10f58e3532ff
7 files changed
tree: bbe3d9c086f518316bc33e98aed9d0c3b52c451b
  1. http2/
  2. CONTRIBUTING.md
  3. LICENSE
  4. README.md
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.

The code is currently in process of being moved from https://cs.chromium.org/chromium/src/net/third_party/ into this repository. Please excuse our appearance while we're under construction.