| Index: net/http/http_network_transaction.cc
|
| diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
|
| index 14da6c704043fa978c227136eaa45191ce371729..a313a296ebe3e2c424609287b1755b8a16cef530 100644
|
| --- a/net/http/http_network_transaction.cc
|
| +++ b/net/http/http_network_transaction.cc
|
| @@ -1241,13 +1241,13 @@ int HttpNetworkTransaction::DoReadHeadersComplete(int result) {
|
| ProcessAlternativeServices(session_, *response_.headers.get(),
|
| HostPortPair::FromURL(request_->url));
|
|
|
| + if (IsSecureRequest())
|
| + stream_->GetSSLInfo(&response_.ssl_info);
|
| +
|
| int rv = HandleAuthChallenge();
|
| if (rv != OK)
|
| return rv;
|
|
|
| - if (IsSecureRequest())
|
| - stream_->GetSSLInfo(&response_.ssl_info);
|
| -
|
| headers_valid_ = true;
|
| return OK;
|
| }
|
| @@ -1703,8 +1703,8 @@ int HttpNetworkTransaction::HandleAuthChallenge() {
|
| return ERR_UNEXPECTED_PROXY_AUTH;
|
|
|
| int rv = auth_controllers_[target]->HandleAuthChallenge(
|
| - headers, (request_->load_flags & LOAD_DO_NOT_SEND_AUTH_DATA) != 0, false,
|
| - net_log_);
|
| + response_, (request_->load_flags & LOAD_DO_NOT_SEND_AUTH_DATA) != 0,
|
| + false, net_log_);
|
| if (auth_controllers_[target]->HaveAuthHandler())
|
| pending_auth_target_ = target;
|
|
|
|
|