Handle false return values from visitor_.OnMetadataEndForStream() in OgHttp2Session.

This CL applies the same error-handling from visitor_.OnMetadataForStream() to
visitor_.OnMetadataEndForStream(). Specifically, if the visitor callback fails,
indicating a connection-level error, then OgHttp2Session saves the error and
stops further processing on the connection.

This change further aligns oghttp2 with nghttp2. With this CL, codec_impl_test
BadMetadataVecReceivedTest passes with oghttp2:
http://sponge2/d36f0333-8080-4e97-97fb-21dd3514caa1

This CL also performs some minor test changes.

PiperOrigin-RevId: 417478489
2 files changed
tree: 64445f8c8d09cd1275cd876a48bb7a57b3ec0110
  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.