Make QuicDispatcher drop packets that have an initial destination connection ID that is too short

This is a rollback of cl/253915913 and roll-forward of cl/253848976.
The rollback was caused by QuicDispatcherTest.ProcessPacketWithInvalidShortInitialConnectionId failing, which was unfortunately not caught by presubmits. The test was attempting to use an empty connection ID with v46 and failing in a QUIC_BUG as that is not legal to send in v46. This CL fixes that by enabling v47 at the start of the test.

With this CL, QuicDispatcher will drop packets that have an initial destination connection ID that is too short, instead of responding with a Version Negotiation packet to reject it.

gfe-relnote: drop a kind of invalid packet, protected by --gfe2_reloadable_flag_quic_drop_invalid_small_initial_connection_id
PiperOrigin-RevId: 254015843
Change-Id: I20d6d64b0a5a8f6cace2ed90dc473c03428064b2
2 files changed
tree: b6b552ae78b448a4fa87bb2dde2e686d2524998e
  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.