Prepare for toy QUIC CONNECT proxy server

Various updates to QuicServer and QuicSimpleServerStream that will be needed to handle CONNECT requests in a subsequent CL:
* Added support for QuicSimpleServerBackends to request abrupt termination of the stream. Typical behavior for CONNECT errors.
* Expand QuicSimpleServerStream's ability to pass intermediate request data on to the backend. A little bit of functionality was already in place with the ability to call to the backend for CONNECT and CONNECT-like requests as soon as headers are read. But in order to pass data frames through the proxy, need to also pass data as it is read instead of waiting for all data. Extra functions created to pass this partial data separately from full data, with a default implementation for the backend to return an error.  Similarly, added an extra function for the backend to pass partial response data through the stream.

PiperOrigin-RevId: 444669215
6 files changed
tree: d6d64d99729d24f83846d413a929059e9270d112
  1. quiche/
  2. CONTRIBUTING.md
  3. LICENSE
  4. README.md
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.