Do not call GetQuicReloadableFlag() from QuicVersionManager constructor.

Initialize disable_ members to true so that in case there is a bug with lazy
initialization, QUIC versions are disabled by mistake (performance loss) instead
of untested versions enabled (can of worms).  Rely on
MaybeRefilterSupportedVersions() calls from accessors.

Return reloadable flag from disable_version_q050() instead of cached value which
might be stale.

Remove filtered_alt_svc_versions_ assignment and AddCustomAlpn() call from
GfeQuicVersionManager constructor, because MaybeRefilterSupportedVersions() will
be called anyway before affected members are accessed.

Protected by FLAGS_quic_restart_flag_quic_lazy_quic_version_manager.

PiperOrigin-RevId: 389937880
3 files changed
tree: 202c3f7117c9c3f9a0b4680d53f8b7d78ee919e5
  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:

QUICHE is only supported on little-endian platforms.