| 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 1172bf1f6dcd3d1f649322cf15b925dcb1ea5c5f..13bc4002f34d6a1035c07b532d6f574c77724260 100644
|
| --- a/net/http/http_stream_factory_impl_job.cc
|
| +++ b/net/http/http_stream_factory_impl_job.cc
|
| @@ -40,6 +40,7 @@
|
| #include "net/spdy/spdy_session.h"
|
| #include "net/spdy/spdy_session_pool.h"
|
| #include "net/ssl/ssl_cert_request_info.h"
|
| +#include "net/ssl/ssl_failure_state.h"
|
|
|
| namespace net {
|
|
|
| @@ -364,10 +365,14 @@ void HttpStreamFactoryImpl::Job::OnStreamFailedCallback(int result) {
|
|
|
| MaybeCopyConnectionAttemptsFromClientSocketHandleToRequest();
|
|
|
| - if (IsOrphaned())
|
| + if (IsOrphaned()) {
|
| stream_factory_->OnOrphanedJobComplete(this);
|
| - else
|
| - request_->OnStreamFailed(this, result, server_ssl_config_);
|
| + } else {
|
| + SSLFailureState ssl_failure_state =
|
| + connection_ ? connection_->ssl_failure_state() : kSSLFailureNone;
|
| + request_->OnStreamFailed(this, result, server_ssl_config_,
|
| + ssl_failure_state);
|
| + }
|
| // |this| may be deleted after this call.
|
| }
|
|
|
|
|