Add a configuration option for a custom WINDOW_UPDATE strategy in OgHttp2Session.

This CL adds an entry to Http2Options for a custom
WindowManager::ShouldWindowUpdateFn, as a WINDOW_UPDATE sending strategy, that
the OgHttp2Session WindowManager (for connection and streams) would use in
place of the default strategy.

This CL introduces DeltaAtLeastHalfLimit in the spirit of the nghttp2 analogue:
http://google3/third_party/nghttp2/src/lib/nghttp2_helper.c;l=248-251;rcl=431825270

Http2CodecImplFlowControlTest.TestFlowControlInPendingSendData passes with
these changes using oghttp2:
http://sponge2/ff7fda20-364a-4594-95c2-d3cccd70ac69

PiperOrigin-RevId: 432298189
5 files changed
tree: addb77ac3307c74013b35ccb5058c095e9807b20
  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.