Add testing for content-length handling.

This CL adds oghttp2 and nghttp2 testing for content-length handling, including
scenarios where the actual data length is smaller/larger than the
content-length value and where the stream ends with a DATA vs. HEADERS frame.
Surprisingly and relevantly for Envoy integration testing, nghttp2 calls
OnInvalidFrame() when the stream ends with a HEADERS frame (but not DATA
frame). This CL shows content-length gaps that oghttp2 needs to fill.

PiperOrigin-RevId: 422594751
2 files changed
tree: 181c1322185996c7495e0b3548af79396f3ce6a5
  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.