Add testing to demonstrate nghttp2 and oghttp2 handling of data on a closed stream.

This CL adds an OgHttp2 and corresponding NgHttp2 unit test that exercises the
following scenario:
  1. Client sends request to open a stream.
  2. Client sends RST_STREAM on the stream it just opened.
  3. Client receives response HEADERS + DATA on the stream.

This scenario can validly arise when the server sends the response between
the receipt of Steps 1 and 2.

NgHttp2 does not fully process/deliver callbacks for the closed stream, whereas
OgHttp2 does. It is hypothesized that this difference in behavior is causing a
test failure in
as explained in http://b/201799377#comment8.

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