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

Unified Diff: net/quic/quic_http_stream.cc

Issue 1775283002: [Domain Reliabiliy: net stack] Plumb received go away from server due to connection migration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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/quic/quic_chromium_client_session.cc ('k') | net/quic/quic_network_transaction_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_http_stream.cc
diff --git a/net/quic/quic_http_stream.cc b/net/quic/quic_http_stream.cc
index 5578bd67b718c9576e8d2cee44d945e59fef6b21..b3e9d52a0c5c2711be790932722252952e29814c 100644
--- a/net/quic/quic_http_stream.cc
+++ b/net/quic/quic_http_stream.cc
@@ -437,6 +437,8 @@ void QuicHttpStream::PopulateNetErrorDetails(NetErrorDetails* details) {
details->connection_info = HttpResponseInfo::CONNECTION_INFO_QUIC1_SPDY3;
if (was_handshake_confirmed_)
details->quic_connection_error = quic_connection_error_;
+ if (session_)
Ryan Hamilton 2016/03/11 22:48:58 In the case that there is no session, I wonder if
Zhongyi Shi 2016/03/11 23:15:30 Good point! I changed the method of OnSessionClose
+ session_->PopulateNetErrorDetails(details);
}
void QuicHttpStream::SetPriority(RequestPriority priority) {
« no previous file with comments | « net/quic/quic_chromium_client_session.cc ('k') | net/quic/quic_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698