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

Unified Diff: net/tools/quic/quic_client_session.cc

Issue 192583004: QUIC - use QuicSessionKey tuple (host, port, is_https) instead of server_hostname (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reupload Created 6 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
Index: net/tools/quic/quic_client_session.cc
diff --git a/net/tools/quic/quic_client_session.cc b/net/tools/quic/quic_client_session.cc
index a2d69498346732272cf741c81537bc92bd676360..75af6f5e421a06c1e4f340a642cef9ecd7d10c2b 100644
--- a/net/tools/quic/quic_client_session.cc
+++ b/net/tools/quic/quic_client_session.cc
@@ -19,7 +19,8 @@ QuicClientSession::QuicClientSession(
QuicConnection* connection,
QuicCryptoClientConfig* crypto_config)
: QuicSession(connection, config),
- crypto_stream_(server_hostname, this, crypto_config) {
+ // Defaulting server_port to 9999.
Ryan Hamilton 2014/03/10 20:57:33 Why 9999? Can we use the real port here instead?
ramant (doing other things) 2014/03/11 00:48:50 Thanks for the suggestion. Done.
+ crypto_stream_(server_hostname, 9999, this, crypto_config) {
}
QuicClientSession::~QuicClientSession() {

Powered by Google App Engine
This is Rietveld 408576698