Add ProcessBytesError entries for bad client magic and user callback failures.

This CL adds ProcessBytesError entries for invalid connection preface (bad
client magic) and visitor (user) callback failures. These values respectively
correspond to the nghttp2_session_mem_recv() return values

This CL will allow OgHttp2Session in the future to return negative values for
these error scenarios while potentially handling other connection-level errors
differently, in line with nghttp2 behavior.

The codec_impl_test LazyDecreaseMaxConcurrentStreamsIgnoreError passes with
this CL (http://sponge2/1581019e-4ecf-4ec0-8869-a07e735f50cf).

PiperOrigin-RevId: 416873218
2 files changed
tree: 5e61db5443830f62be5f05e76f365728650bae09
  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.