Disable Huffman encoding for QPACK headers sent over Hyperloop.

Add a DisableHuffmanEncoding() to QuicSpdySession which must be
called before Initialize(), which causes the QpackEncoder and
MetadataManager to be created with Huffman encoding disabled.

Both GfeQuicClientSession and GfeQuicBackendServerSession call
this method in their constructors, when the flag is true.

The actual behavior change is in QpackInstructionEncoder. The
rest of the changes are merely plumbing.

Protected by FLAGS_gfe2_reloadable_flag_disable_huffman_for_hyperloop.

PiperOrigin-RevId: 603097044
18 files changed
tree: 39a738bd524fd31394c219cfa53a3f1c08b47062
  1. build/
  2. depstool/
  3. quiche/
  4. .bazelrc
  5. .bazelversion
  6. BUILD.bazel
  7. CONTRIBUTING.md
  8. LICENSE
  9. README.md
  10. WHITESPACE
  11. WORKSPACE.bazel
README.md

QUICHE

QUICHE stands for QUIC, Http, Etc. It is Google‘s production-ready implementation of QUIC, HTTP/2, HTTP/3, and related protocols and tools. It powers Google’s servers, Chromium, Envoy, and other projects. It is actively developed and maintained.

There are two public QUICHE repositories. Either one may be used by embedders, as they are automatically kept in sync:

To embed QUICHE in your project, platform APIs need to be implemented and build files need to be created. Note that it is on the QUICHE team's roadmap to include default implementation for all platform APIs and to open-source build files. In the meanwhile, take a look at open source embedders like Chromium and Envoy to get started:

To contribute to QUICHE, follow instructions at CONTRIBUTING.md.

QUICHE is only supported on little-endian platforms.