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

Unified Diff: net/quic/quic_http_stream.h

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: remove conditional assignment 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_http_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_http_stream.h
diff --git a/net/quic/quic_http_stream.h b/net/quic/quic_http_stream.h
index 81aacb024a259a18b3365fedfec11a688b250712..a88a6e1f3ed1b8c93f7e56b0affdf52fa7d5584b 100644
--- a/net/quic/quic_http_stream.h
+++ b/net/quic/quic_http_stream.h
@@ -79,7 +79,7 @@ class NET_EXPORT_PRIVATE QuicHttpStream
// QuicChromiumClientSession::Observer implementation
void OnCryptoHandshakeConfirmed() override;
- void OnSessionClosed(int error) override;
+ void OnSessionClosed(int error, bool port_migration_detected) override;
// QuicClientPushPromiseIndex::Delegate implementation
bool CheckVary(const SpdyHeaderBlock& client_request,
@@ -193,6 +193,9 @@ class NET_EXPORT_PRIVATE QuicHttpStream
// SSLInfo from the underlying QuicSession.
SSLInfo ssl_info_;
+ // True when this stream receives a go away from server due to port migration.
+ bool port_migration_detected_;
+
bool found_promise_;
// |QuicClientPromisedInfo| owns this. It will be set when |Try()|
// is asynchronous, i.e. it returned QUIC_PENDING, and remains valid
« no previous file with comments | « net/quic/quic_chromium_client_session.cc ('k') | net/quic/quic_http_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698