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

Unified Diff: net/spdy/spdy_session.cc

Issue 3174004: Pass both hostname and port into SSLClientSocket (Closed)
Patch Set: Created 10 years, 4 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/socket_stream/socket_stream.cc ('k') | remoting/jingle_glue/ssl_socket_adapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session.cc
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
index 549dd532b5a1e18f51774c71577851558d75dd4f..8f844b64ed13a0f8409eb1d4b5e90512a0ae1ae0 100644
--- a/net/spdy/spdy_session.cc
+++ b/net/spdy/spdy_session.cc
@@ -519,7 +519,8 @@ void SpdySession::OnTCPConnect(int result) {
// TODO(mbelshe): Fix the hostname. This is BROKEN without having
// a real hostname.
socket = session_->socket_factory()->CreateSSLClientSocket(
- socket, "" /* request_->url.HostNoBrackets() */ , ssl_config_);
+ socket, HostPortPair("", 0) /* request_->url.HostNoBrackets() */ ,
+ ssl_config_);
connection_->set_socket(socket);
is_secure_ = true;
int status = connection_->socket()->Connect(&ssl_connect_callback_);
« no previous file with comments | « net/socket_stream/socket_stream.cc ('k') | remoting/jingle_glue/ssl_socket_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698