When the GFE issues a 413 error due to excessively long request headers, also send a Clear-Site-Data: "cookies" response header, but only if the portion of the cookie header we have is greater than a certain length. For full context, see b/181849166. It ended up being a bit unfortunately gnarly to get access to the incomplete request headers in the HEADERS_TOO_LONG cases, requiring changes to the base BalsaFrame, HTTP/2, and QUIC, but I think the resulting state is not too unreasonable. That said, I'm open to suggestions of a better approach. Protected by gfe2_restart_flag_clear_long_cookies_on_413. PiperOrigin-RevId: 547269861
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.