Index: net/socket_stream/socket_stream_job.cc |
=================================================================== |
--- net/socket_stream/socket_stream_job.cc (revision 128526) |
+++ net/socket_stream/socket_stream_job.cc (working copy) |
@@ -28,7 +28,7 @@ |
GURL socket_url(url); |
TransportSecurityState::DomainState domain_state; |
if (url.scheme() == "ws" && sts && sts->GetDomainState( |
- &domain_state, url.host(), SSLConfigService::IsSNIAvailable(ssl)) && |
+ url.host(), SSLConfigService::IsSNIAvailable(ssl), &domain_state) && |
domain_state.ShouldRedirectHTTPToHTTPS()) { |
Ryan Sleevi
2012/03/28 00:50:32
Does STS apply to non-HTTPS?
I didn't think the W
palmer
2012/04/10 23:25:51
I don't know (but I'd vote yes). But, all I'm doin
|
url_canon::Replacements<char> replacements; |
static const char kNewScheme[] = "wss"; |