Skip to content
Commit 08765a73 authored by Ryan Hamilton's avatar Ryan Hamilton Committed by Chromium LUCI CQ
Browse files

Fix a bug where a URLRequest will hang when empty HTTP/3 response trailers


are received.

The code was checking `received_trailers().empty()` to determine if trailers
had yet been received. However, that doesn't work in this case, obviously.
Instead it can check `trailing_headers_frame_len_ == 0` which is correct.

BUG=332587381

Signed-off-by: default avatarRyan Hamilton <rch@chromium.org>
Change-Id: If2b57fed2c393091e5fe62b8097733afb365224c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5421968


Reviewed-by: default avatarRenjie Tang <renjietang@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1282194}
parent fa8a7fa1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment