commit | dcf1d4bd5b25031994f7a1363906abfe7bc2c9f1 | [log] [tgz] |
---|---|---|
author | QUICHE team <quiche-dev@google.com> | Thu Sep 23 12:44:52 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Sep 23 12:45:40 2021 -0700 |
tree | 7192dfeb1cf6f595ba6bfb4dd7b959cca7d8b46e | |
parent | d0e7117aa7a219cc832c7b6c12b23254d28318d3 [diff] |
Let client-side OgHttp2Session obey the peer's advertised SETTINGS_MAX_CONCURRENT_STREAMS. This CL allows client-side OgHttp2Session to save the peer's advertised SETTINGS_MAX_CONCURRENT_STREAMS value and use that value in SubmitRequest() to determine whether to create a stream immediately for the request or store the request for later. OgHttp2Session will create a stream immediately unless that would violate SETTINGS_MAX_CONCURRENT_STREAMS; in this case instead, the request is stored in a (newly added) PendingStreamState. Then when removing a stream from the map in CloseStream(), OgHttp2Session will check if pending streams can be created (compliant with SETTINGS_MAX_CONCURRENT_STREAMS). PiperOrigin-RevId: 398554048
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.