Add more protection in QuicSpdySession::GetSpdyDataStream().

From the definition of GetOrCreateDynamicStream(), it's possible that the returned stream is a static non-spdy stream.
So instead of using DCHECK as invariants, I think it'd be better if we close connection here.

gfe-relnote: Protected by gfe2_reloadable_flag_quic_handle_staticness_when_getting_spdy_stream
PiperOrigin-RevId: 257486450
Change-Id: I7ac6c4b6f9e78ff263ee0937c647bbfb35de4e22
1 file changed
tree: 0cd1e1ccdd5b381889c54fb128cb61665658031a
  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.