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 8910c8f96b52d13fb3db68bd8a7611a991c21670..3b9bcab6a80bc7a90340b7a03d5241543a542156 100644 |
--- a/net/http/http_stream_factory_impl_job.cc |
+++ b/net/http/http_stream_factory_impl_job.cc |
@@ -1107,6 +1107,8 @@ int HttpStreamFactoryImpl::Job::DoCreateStream() { |
SetSocketMotivation(); |
if (!using_spdy_) { |
+ if (IsAlternate()) |
Ryan Hamilton
2015/05/05 18:31:55
nit: I think this should be IsSpdyAlternate(), sin
Bence
2015/05/05 20:14:18
Done.
BTW I moved the check from here to DoInitCo
|
+ return ERR_NPN_NEGOTIATION_FAILED; |
// We may get ftp scheme when fetching ftp resources through proxy. |
bool using_proxy = (proxy_info_.is_http() || proxy_info_.is_https()) && |
(request_info_.url.SchemeIs("http") || |