Fix an xSan error in //third_party/http2/adapter:oghttp2_session_test.

The error occurs as a use-after-free because a reference to stream state is
still used even after the stream is closed.

The solution is to break and avoid accessing the closed-stream state.

Tested:
blaze test //third_party/http2/adapter:oghttp2_session_test --config=asan --test_filter=OgHttp2SessionTest.ServerQueuesTrailersWithResponse

Before: http://sponge2/86feee4d-3579-4517-8bd5-1a82ac98d783

After: http://sponge2/5cc1a3aa-6e7f-436d-b15a-c98c9737cb00
PiperOrigin-RevId: 399443519
2 files changed
tree: 43cf77d3954d3c2142e6140a859465242f2cf9e1
  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.