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

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: fix comments from Patch set 1 and 3 and merge with TOT 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..ab492a30c8cbc567915d465675d553b285c1ddb4 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) {
+ crypto_stream_(server_hostname, connection->peer_address().port(), this,
wtc 2014/03/11 01:41:39 IMPORTANT: it is strange that we get the hostname
Ryan Hamilton 2014/03/11 15:47:43 It looks like QuicStreamFactory has added port to
ramant (doing other things) 2014/03/13 01:50:12 Passed QuicSessionKey as argument to QuicClientSes
ramant (doing other things) 2014/03/13 01:50:12 Added QuicSessionKey as argument to QuicClientSess
+ crypto_config) {
}
QuicClientSession::~QuicClientSession() {

Powered by Google App Engine
This is Rietveld 408576698