Patch a fix from https://github.com/villainb-dg for the issue of leaking connection flow control window when a HTTP2 stream receives a DATA frame after being closed (reset, etc).

When a stream receives a DATA frame while it is already closed, the data is counted against the connection flow control window, but is never marked as consumed.
Fix: Mark the data as consumed when the received DATA frame is on a reset or invalid stream.

Reported QUICHE issue https://github.com/google/quiche/issues/91
Reported Envoy issue https://github.com/envoyproxy/envoy/issues/40085
Proposed external fix: https://github.com/google/quiche/pull/92

PiperOrigin-RevId: 781064590
2 files changed
tree: 54bc5c9c6d527210282313952afc1503275dc1ac
  1. build/
  2. depstool/
  3. quiche/
  4. .bazelrc
  5. .bazelversion
  6. BUILD.bazel
  7. CONTRIBUTING.md
  8. LICENSE
  9. MODULE.bazel
  10. MODULE.bazel.lock
  11. README.md
  12. WHITESPACE
README.md

QUICHE

QUICHE stands for QUIC, Http, 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.