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
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.