Use headers_decompressed() in QuicTestClient::response_headers().

Use headers_decompressed() in QuicTestClient::response_headers() instead of
stream_bytes_read() + header_bytes_read() as a criterion for whether the stream
has received headers.  This is more robust against partially received headers,
especially in case the HEADERS frame header has arrived without the frame
payload by the time response_headers() is called.

This fixes ///gfe/gfe2/quic:end_to_end_server_push_trailers_test test for draft CL cr/231494986.

gfe-relnote: n/a.  Test-only change.
PiperOrigin-RevId: 245253221
Change-Id: I35815ae191da6f5c5ea89df0c4cc61b0b4b2580a
1 file changed
tree: 5dd79587763b8c6cf60fde3bfb875720e806ba6f
  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.