Update BalsaHeadersSequence and BalsaVisitorInterface to use std::unique_ptr for interim headers.

This CL updates the related methods BalsaHeadersSequence::Append() and
BalsaVisitorInterface::OnInterimHeaders() to use std::unique_ptr<BalsaHeaders>.
The motivation for this change is to allow users to retain valid references an
underlying BalsaHeaders even after transferring ownership to the
BalsaHeadersSequence (e.g., http://screen/4GbAo5Z7jsZxBCK from the
very-much-work-in-progress cl/536902857). If attempting to retain a reference
to a bare BalsaHeaders that is then std::move'd, the reference will not be
valid after the std::move (where the BalsaHeaders we want is now a
move-constructed BalsaHeaders elsewhere).
PiperOrigin-RevId: 540666570
7 files changed
tree: c9903944daa2b6f10ec1c73ba8e7ad72b10c44cb
  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.