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

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

Issue 2365243004: QUIC/1+SPYD/3 => QUIC (Closed)
Patch Set: Rebase. Created 4 years, 2 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
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 d57b361455378c6909b21f7288737cad8294768a..647ebb1b6b70e62d4bdb7f68604e18339b616da0 100644
--- a/net/quic/chromium/quic_http_stream.cc
+++ b/net/quic/chromium/quic_http_stream.cc
@@ -430,7 +430,7 @@ void QuicHttpStream::Drain(HttpNetworkSession* session) {
}
void QuicHttpStream::PopulateNetErrorDetails(NetErrorDetails* details) {
- details->connection_info = HttpResponseInfo::CONNECTION_INFO_QUIC1_SPDY3;
+ details->connection_info = HttpResponseInfo::CONNECTION_INFO_QUIC;
if (was_handshake_confirmed_)
details->quic_connection_error = quic_connection_error_;
if (session_) {
@@ -788,8 +788,7 @@ int QuicHttpStream::ProcessResponseHeaders(const SpdyHeaderBlock& headers) {
// Put the peer's IP address and port into the response.
IPEndPoint address = session_->peer_address();
response_info_->socket_address = HostPortPair::FromIPEndPoint(address);
- response_info_->connection_info =
- HttpResponseInfo::CONNECTION_INFO_QUIC1_SPDY3;
+ response_info_->connection_info = HttpResponseInfo::CONNECTION_INFO_QUIC;
response_info_->vary_data.Init(*request_info_,
*response_info_->headers.get());
response_info_->was_alpn_negotiated = true;

Powered by Google App Engine
This is Rietveld 408576698