Check for the data_deferred state before writing data for a stream.

A stream should not write if its data was previously deferred. (The application
can mark a stream's data as not deferred by resuming the stream.) This added
check allows Http2CodecImplTest.MultipleContinueHeaders (and possibly other
tests) to pass with oghttp2.

blaze test //third_party/envoy/src/test/common/http/http2:codec_impl_test   --test_filter=*/Http2CodecImplTest.MultipleContinueHeaders/* --test_arg=--vmodule=oghttp2_session=2 --test_arg="--" --test_arg="-l trace" --test_env="ENVOY_NGHTTP2_TRACE="

Before: http://sponge2/d358a04f-4868-4f00-a792-34907522e477
After: http://sponge2/85122944-5d24-4bbc-a50d-1c9d4843864d
PiperOrigin-RevId: 410343732
1 file changed
tree: dc37d2268dbc7c166d14c5a72a1bf9f841b86931
  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.