Clear the OgHttp2Session pending frames queue on starting an immediate GOAWAY.

This CL completes an OgHttp2Session GOAWAY TODO that enables better GOAWAY
tracking and brings oghttp2 behavior more in line with nghttp2.

Note that OgHttp2Session does not clear RST_STREAM frames from the queue on
immediate GOAWAY, as the RST_STREAM frames provide important signal to the peer
about potential errors below the last stream ID.

This CL also adds logic to preserve user-submitted initial SETTINGS in the face
of an immediate GOAWAY.

PiperOrigin-RevId: 417871466
4 files changed
tree: 1dd8c7435a5ea4f538db7256928bd85524973ce4
  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.