| Index: net/http/http_stream_factory_impl_job.cc
|
| diff --git a/net/http/http_stream_factory_impl_job.cc b/net/http/http_stream_factory_impl_job.cc
|
| index 110b90a1316f30aaf5625172c27af4d626ef2da5..f27450abea757556b74e761acdc3ca327bacf2a8 100644
|
| --- a/net/http/http_stream_factory_impl_job.cc
|
| +++ b/net/http/http_stream_factory_impl_job.cc
|
| @@ -1419,11 +1419,15 @@ int HttpStreamFactoryImpl::Job::DoCreateStream() {
|
|
|
| new_spdy_session_ = spdy_session;
|
| spdy_session_direct_ = direct;
|
| - const HostPortPair& host_port_pair = spdy_session_key.host_port_pair();
|
| + const HostPortPair host_port_pair = spdy_session_key.host_port_pair();
|
| + // TODO(zhongyi): extract SHP w/o modify spdy_session_key.
|
| + const url::SchemeHostPort server("http", host_port_pair.host(),
|
| + host_port_pair.port());
|
| +
|
| base::WeakPtr<HttpServerProperties> http_server_properties =
|
| session_->http_server_properties();
|
| if (http_server_properties)
|
| - http_server_properties->SetSupportsSpdy(host_port_pair, true);
|
| + http_server_properties->SetSupportsSpdy(server, true);
|
|
|
| // Create a SpdyHttpStream or a BidirectionalStreamImpl attached to the
|
| // session; OnNewSpdySessionReadyCallback is not called until an event loop
|
|
|