Add support for nested proxying in MASQUE client code

This bulk of this CL take the encapsulated MASQUE classes and turns them into subclasses of the underlying MASQUE classes. It then adds plumbing between these various classes so that all the constructors work correctly.

This CL also tweaks how the encapsulated max packet size is computed, by subtracting from the available room in the underlying connection.

Finally, this CL modifies the test tool to support a list of proxies separated by commas.

I've confirmed that this works for up to three proxies, and when we go to four the MTU becomes too small and things fail, as expected.

This code is only used for testing, so it's not flag-protected.

PiperOrigin-RevId: 627075681
13 files changed
tree: 84582c5a639efd9de98761d329e47533ec6af146
  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.