Expose blackhole detector to stop detection when chromium blocks packet writer.

* When chromium networking code finds that all networks has been disconnected. It blocks the writer and wait a few seconds before closing the connection with NO_NETWORK error. However, blackhole is never stopped during that period which under some circumstances blackhole detection fires and closes the connection with TOO_MANY_RTOS.

* In an effort to fix this, connection must expose the `blackhole_detector_` in order to call stopDetection momentarily. See crrev/4597977 for sample implementation

* this fix would likely improve the connection migration successful rate (hence the QoE), this fix will be protected behind a flag on the chromium side to quantify the impact.

Check crbug/1395405 for more information.

PiperOrigin-RevId: 541967136
1 file changed
tree: 61cdf574cde41afdf70791efd6519458e553a10f
  1. build/
  2. depstool/
  3. quiche/
  4. .bazelrc
  5. BUILD.bazel
  6. CONTRIBUTING.md
  7. LICENSE
  8. README.md
  9. WHITESPACE
  10. WORKSPACE.bazel
README.md

QUICHE

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.