Remove unnecessary copy in QuicChaosProtector

When QuicChaosProtector was first written, QuicStreamSendBuffer did not allow out-of-order writes. To work around this, QuicChaosProtector copied out the entire crypto data in one go. Now that cl/712548578 has landed, QuicStreamSendBuffer allows out-of-order writes so this copy is no longer required. This CL removes that unnecessary copy.

Protected by FLAGS_quic_reloadable_flag_quic_chaos_protector_avoid_copy.

PiperOrigin-RevId: 712664648
4 files changed
tree: 4b0f5f497f6a728ac564775729d3da68976b0184
  1. build/
  2. depstool/
  3. quiche/
  4. .bazelrc
  5. .bazelversion
  6. BUILD.bazel
  7. CONTRIBUTING.md
  8. LICENSE
  9. README.md
  10. WHITESPACE
  11. 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.