Introduce QuicDisableVersion and QuicVersionIsEnabled

These functions are mainly meant for tests, but are accessible from prod code because there are legitimate uses for disabling versions in production. The main goal here is to simplify adding and removing new versions by reducing the amount of code that sets these flags directly. This CL does not change any existing behavior.

No behavior change

PiperOrigin-RevId: 316944337
Change-Id: Ieebd6ae4cc493b49269540c5d0fd7acbe655e5fa
5 files changed
tree: 5ef76d9ff3518dccfcf513283b12bedff6d561b5
  1. common/
  2. epoll_server/
  3. http2/
  4. quic/
  5. spdy/
  6. CONTRIBUTING.md
  7. LICENSE
  8. README.md
README.md

QUICHE

QUICHE (QUIC, Http/2, Etc) is Google‘s implementation of QUIC and related protocols. It powers Chromium as well as Google’s QUIC servers and some other projects.