commit | d34eb6e55662b9a0f0a17be588aa79b04b31a22a | [log] [tgz] |
---|---|---|
author | QUICHE team <quiche-dev@google.com> | Wed Dec 08 13:50:23 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Dec 08 13:52:10 2021 -0800 |
tree | 8c128731e3c8b2d0d47484201061b5cadcf35207 | |
parent | e87010ff958c9397ee861e00d7747de6f3938e19 [diff] |
Add `max_header_bytes` to OgHttp2Session::Options() and send in initial SETTINGS. This configurable option allows OgHttp2Session's HPACK decoder to adjust its decoding buffer size and max allowed header block size in a similar strategy to Http2Dispatcher [1]. This change is important to allow OgHttp2Session to decode headers following Envoy's `max_headers_kb_` [2]. When locally added to Envoy's Http2Options [3], this change allows the following codec_impl_tests to pass: LargeRequestHeadersAtLimitAccepted, LargeRequestHeadersInvokeResetStream, LargeMethodRequestEncode, LargeRequestHeadersOverDefaultCodecLibraryLimit (arguably no longer needed), LargeRequestHeadersAtMaxConfigurable, LargeRequestHeadersAccepted. [1] e.g., http://google3/gfe/gfe2/http2/http2_backend_dispatcher.cc;l=221-226;rcl=414330428 [2] http://google3/third_party/envoy/src/source/common/http/http2/codec_impl.h;l=549;rcl=414330428 [3] http://google3/third_party/envoy/src/source/common/http/http2/codec_impl.h;l=196;rcl=414009764 PiperOrigin-RevId: 415087562
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.