Index: net/socket_stream/socket_stream.cc |
diff --git a/net/socket_stream/socket_stream.cc b/net/socket_stream/socket_stream.cc |
index dca994cbada9b69c30b60eeaa877196c9dcea692..6353df7818be6560f7c0b44c818279ca781b1d22 100644 |
--- a/net/socket_stream/socket_stream.cc |
+++ b/net/socket_stream/socket_stream.cc |
@@ -1306,9 +1306,12 @@ int SocketStream::HandleCertificateError(int result) { |
ssl_socket->GetSSLInfo(&ssl_info); |
TransportSecurityState::DomainState domain_state; |
- const bool fatal = context_->transport_security_state() && |
- context_->transport_security_state()->GetDomainState(url_.host(), |
+ const bool fatal = |
+ context_->transport_security_state() && |
+ context_->transport_security_state()->GetDomainState( |
+ url_.host(), |
SSLConfigService::IsSNIAvailable(context_->ssl_config_service()), |
+ delegate_->CanGetCookies(this, url_), |
palmer
2013/07/29 21:44:49
This stops requests from *using* dynamic state in
Ryan Sleevi
2013/08/06 22:32:11
Are we sure that "url_" is correct here?
When loo
mef
2013/08/09 17:04:05
Hmm, the rewrite in WebSocketJob::GetURLForCookies
Ryan Sleevi
2013/08/09 17:42:30
That's what doesn't make sense - why rewrite the U
|
&domain_state) && |
domain_state.ShouldSSLErrorsBeFatal(); |