Fix a bug in WriteGfeMemSliceSpanToStream().

The bug was that WriteGfeMemSliceSpanToStream() did not account for the fact that the DATA frame header is written by a separate write that could cause the stream to become write-blocked.

I manually verified this fixes test flakes described in b/191017151.

Protected by FLAGS_quic_restart_flag_quic_use_new_mem_slice_span2.

PiperOrigin-RevId: 379315449
4 files changed
tree: 0d0434ba965c0ee618c62ef46fbcf8fb153d995c
  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. QUICHE is only supported on little-endian platforms.

Code can be viewed in CodeSearch in Quiche and is imported into Chromium.