Avoid invoking visitor callbacks for a stream once it has been marked for reset.

This CL causes OgHttp2Session to check its marked-for-RST_STREAM streams set
before delivering callbacks to the visitor for receive-level events (under
ProcessBytes()). This change better aligns oghttp2 with nghttp2 behavior and
will be helpful for content-length validation.

Note that nghttp2 still delivers control frames and extension frames to the
visitor. For oghttp2, this CL tentatively unifies control frames, METADATA
frames, and DATA frames under "do not deliver" after the stream has been marked
for reset.

This CL also helps with Envoy integration testing as mentioned by ++birenroy@:
  - Before: http://screen/BSFjdLUB5dtueKU
  - After: http://screen/8pr9g596Ph2ewtK

PiperOrigin-RevId: 421834399
4 files changed
tree: 7209b6ce893ca433f6515f5461d33f1a66f7b3e2
  1. common/
  2. epoll_server/
  3. http2/
  4. quic/
  5. spdy/
  6. CONTRIBUTING.md
  7. LICENSE
  8. README.md
README.md

QUICHE

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 CONTRIBUTING.md.

QUICHE is only supported on little-endian platforms.