Fix use-after-move in TlsConnection

Fix reading from a moved-from variable in
quic::TlsConnection::TlsConnection(). This issue was found by the
bugprone-use-after-move clang-tidy diagnostic:

  net/third_party/quiche/src/quic/core/crypto/tls_connection.cc:109:
  'ssl_config' used after it was moved
  net/third_party/quiche/src/quic/core/crypto/tls_connection.cc:96:
  move occurred here

This fix is part of the effort to fix use-after-move errors in
Chromium, as tracked by crbug.com/1122844.

PiperOrigin-RevId: 416179037
1 file changed
tree: e8cc221606026b887275f7a0790c9e7ad6926357
  1. common/
  2. epoll_server/
  3. http2/
  4. quic/
  5. spdy/
  6. CONTRIBUTING.md
  7. LICENSE
  8. README.md
README.md

QUICHE

QUICHE stands for QUIC, Http/2, 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.