Convey more information in Http2VisitorInterface::OnConnectionError().

This CL introduces a ConnectionError enum class to Http2VisitorInterface and
adds a ConnectionError argument to Http2VisitorInterface::OnConnectionError().
The visitor then has more detail about the scenario that triggers the
connection error. For now, values include sending and parsing errors, an
invalid connection preface, and a header error.

PiperOrigin-RevId: 402636055
15 files changed
tree: 97a76ffa11f80c27b08de3431a4879cb9642035d
  4. common/
  5. epoll_server/
  6. http2/
  7. quic/
  8. 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.