| Index: net/http/http_network_transaction.cc
|
| diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
|
| index 6b30fd6133aed4f3dec0f2cf9aa5d4a5b99cb95d..4bd867d1432d96545f9b820f8c0c34126681c809 100644
|
| --- a/net/http/http_network_transaction.cc
|
| +++ b/net/http/http_network_transaction.cc
|
| @@ -20,6 +20,7 @@
|
| #include "build/build_config.h"
|
| #include "googleurl/src/gurl.h"
|
| #include "net/base/auth.h"
|
| +#include "net/base/host_port_pair.h"
|
| #include "net/base/io_buffer.h"
|
| #include "net/base/load_flags.h"
|
| #include "net/base/net_errors.h"
|
| @@ -371,8 +372,6 @@ void HttpNetworkTransaction::OnStreamReady(const SSLConfig& used_ssl_config,
|
| stream_.reset(stream);
|
| ssl_config_ = used_ssl_config;
|
| proxy_info_ = used_proxy_info;
|
| - response_.was_alternate_protocol_available =
|
| - stream_request_->was_alternate_protocol_available();
|
| response_.was_npn_negotiated = stream_request_->was_npn_negotiated();
|
| response_.was_fetched_via_spdy = stream_request_->using_spdy();
|
| response_.was_fetched_via_proxy = !proxy_info_.is_direct();
|
| @@ -1070,7 +1069,8 @@ int HttpNetworkTransaction::HandleSSLHandshakeError(int error) {
|
| // This could be a TLS-intolerant server, an SSL 3.0 server that
|
| // chose a TLS-only cipher suite or a server with buggy DEFLATE
|
| // support. Turn off TLS 1.0, DEFLATE support and retry.
|
| - session_->http_stream_factory()->AddTLSIntolerantServer(request_->url);
|
| + session_->http_stream_factory()->AddTLSIntolerantServer(
|
| + HostPortPair::FromURL(request_->url));
|
| ResetConnectionAndRequestForResend();
|
| error = OK;
|
| }
|
|
|