commit | 77ed991499d0ceeb947c3d6169836665f1b408df | [log] [tgz] |
---|---|---|
author | diannahu <diannahu@google.com> | Mon Nov 18 14:51:18 2024 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Nov 18 14:52:09 2024 -0800 |
tree | 964f0481b4d491f083beb1887ee6f0c2b28d9d4f | |
parent | e979357c3abbf987c53bc35318b8034f58104335 [diff] |
Add oghttp2 and nghttp2 testing to demonstrate client GOAWAY-sending behavior. This CL adds analogous testing to OgHttp2AdapterTest and NgHttp2AdapterTest to exercise the scenario where a client sends a request/receives a response and then submits a GOAWAY based on the adapter GetHighestReceivedStreamId(). For oghttp2, GetHighestReceivedStreamId() is updated to the last stream ID that was processed in some way, i.e., the stream ID of the request/response stream. For nghttp2, GetHighestReceivedStreamId() is kept at 0 because the stream was not initiated by the peer (server push). Currently, the submitted GOAWAY is sent from both adapters, but with these different last-stream-ID fields. The future plan will be to have oghttp2 avoid sending GOAWAYs as clients altogether, as sending a GOAWAY as client is unintuitive. PiperOrigin-RevId: 697766519
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.