commit | 1a5d85630fc04d4af11406bbccc3ef9ab7abb548 | [log] [tgz] |
---|---|---|
author | Bence Béky <[email protected]> | Fri Jan 05 17:29:28 2018 |
committer | Commit Bot <[email protected]> | Fri Jan 05 20:48:02 2018 |
tree | 7fc9cc0af94e30f817c39e676fdd3fb531ff5183 | |
parent | 31e63ea21b3c579f9ea8479bc757fd6b602d76c6 [diff] [blame] |
Retry request if server resets pushed stream before GetPushedStream call. This is similar to the retry logic implemented at https://crrev.com/c/848776, see https://crbug.com/776415#c9. Bug: 776415 Change-Id: Ifdd25e4b7694ced987bfe3013ce825d408b75040 Reviewed-on: https://chromium-review.googlesource.com/851655 Reviewed-by: Helen Li <[email protected]> Commit-Queue: Bence Béky <[email protected]> Cr-Commit-Position: refs/heads/master@{#527375}
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc index 55af657..46345079 100644 --- a/net/http/http_network_transaction.cc +++ b/net/http/http_network_transaction.cc
@@ -1562,6 +1562,7 @@ break; case ERR_SPDY_PING_FAILED: case ERR_SPDY_SERVER_REFUSED_STREAM: + case ERR_SPDY_PUSHED_STREAM_NOT_AVAILABLE: case ERR_SPDY_CLAIMED_PUSHED_STREAM_RESET_BY_SERVER: case ERR_QUIC_HANDSHAKE_FAILED: if (HasExceededMaxRetries())