Fix QUIC version used when computing ALPN

The ALPN should be based on the QUIC version that is currently in use, not the first one we tried prior to version negotiation. Running the newly added version negotiation end-to-end test with TLS enabled is what found the issue.

gfe-relnote: fix ALPN, protected by flag quic_supports_tls_handshake
PiperOrigin-RevId: 257666341
Change-Id: I4f1619cf4923fae01443ed4c89450df0be78cd39
2 files changed
tree: d4bc6be691d48db6c7a92db13696cc68e681e075
  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.

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.