Make sure QuicVersionsTest.InitializeSupportForIetfDraft reverts global state

Chromium net-unittests were failing when run in the same process because InitializeSupportForIetfDraft was changing global state that some QuicFramerTests were not expecting. This CL makes QuicVersionInitializeSupportForIetfDraft(0) disable the flags and has the test call it. No other code was previously calling QuicVersionInitializeSupportForIetfDraft(0).

./chromium/src/out/Default/net_unittests --single-process-tests --gtest_filter='*QuicVersionsTest*:*QuicFramerTest*'

https://bugs.chromium.org/p/chromium/issues/detail?id=950935

gfe-relnote: test-only change
PiperOrigin-RevId: 242761668
Change-Id: I8c7f77f06fb2152eb5c84eae631f5003859d9c1a
2 files changed
tree: 8acc6d1d970ba7861d8f212a4a069b82e0bfdc37
  1. http2/
  2. quic/
  3. spdy/
  4. CONTRIBUTING.md
  5. LICENSE
  6. 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.

The code is currently in process of being moved from https://cs.chromium.org/chromium/src/net/third_party/ into this repository. Please excuse our appearance while we're under construction.