Support draft-ietf-masque-h3-datagram-05

This revision makes datagram contexts optional to implement and negotiated via the Sec-Use-Datagram-Contexts header. See the PR for full details:

This CL retains backwards compatibility with draft-ietf-masque-h3-datagram-04 by keeping support for the previous DATAGRAM capsule, which is now renamed to LEGACY_DATAGRAM. In this CL, our WebTransport implementation does not request support for contexts, so they will not be used for WebTransport.

This code isn't used in our servers and therefore does not require flag protection.

PiperOrigin-RevId: 406461234
20 files changed
tree: 315ebeda0f378ffefc12574d9f269f523178e622
  1. common/
  2. epoll_server/
  3. http2/
  4. quic/
  5. spdy/


QUICHE stands for QUIC, Http/2, 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

QUICHE is only supported on little-endian platforms.