Add version DCHECKS in GOAWAY handling.

Sometimes in tests, QuicSession::OnGoAway is called directly no matter what the version is, but GoAway and Http3GoAway are 2 different frames.
This change prevents that from happening.

Chrome tests are already fixed at https://chromium-review.googlesource.com/c/chromium/src/+/2341396

No behavior change. not protected.

PiperOrigin-RevId: 325528159
Change-Id: Ied46967ce3bf1cf44ba04be6476c407a86ba3aa2
2 files changed
tree: 91a38f5ea87f47ca7a06e1616943895329c736ce
  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.