Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: net/quic/chromium/quic_http_stream.cc

Issue 2810323003: Remove ERR_QUIC_BROKEN_ERROR and instead use ERR_QUIC_PROTOCOL_ERROR (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_network_transaction.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/chromium/quic_http_stream.cc
diff --git a/net/quic/chromium/quic_http_stream.cc b/net/quic/chromium/quic_http_stream.cc
index 78f4bac78906c78fe11095231723f13a1727303a..b634dea8085886b13c5d3b18640526b0d727d3d8 100644
--- a/net/quic/chromium/quic_http_stream.cc
+++ b/net/quic/chromium/quic_http_stream.cc
@@ -891,15 +891,6 @@ int QuicHttpStream::ComputeResponseStatus() const {
DCHECK_NE(QUIC_HANDSHAKE_TIMEOUT, quic_connection_error_);
- // If the headers have not been received and QUIC is now broken, return
- // ERR_QUIC_BROKEN_ERROR to permit HttpNetworkTransaction to retry the request
- // over TCP.
- if (!response_headers_received_ &&
- http_server_properties_->IsAlternativeServiceBroken(AlternativeService(
- kProtoQUIC, server_id_.host(), server_id_.port()))) {
- return ERR_QUIC_BROKEN_ERROR;
- }
-
return ERR_QUIC_PROTOCOL_ERROR;
}
« no previous file with comments | « net/http/http_network_transaction.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698