mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Bug 884200 - Ensure NSS is initiated on main thread. r=honza
This commit is contained in:
parent
2ee83b272b
commit
ca216420b6
@ -1603,11 +1603,11 @@ nsHttpHandler::NewProxiedChannel(nsIURI *uri,
|
|||||||
// enable pipelining over SSL if requested
|
// enable pipelining over SSL if requested
|
||||||
if (mPipeliningOverSSL)
|
if (mPipeliningOverSSL)
|
||||||
caps |= NS_HTTP_ALLOW_PIPELINING;
|
caps |= NS_HTTP_ALLOW_PIPELINING;
|
||||||
|
}
|
||||||
|
|
||||||
if (!IsNeckoChild()) {
|
if (!IsNeckoChild()) {
|
||||||
// HACK: make sure PSM gets initialized on the main thread.
|
// HACK: make sure PSM gets initialized on the main thread.
|
||||||
net_EnsurePSMInit();
|
net_EnsurePSMInit();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rv = httpChannel->Init(uri, caps, proxyInfo, proxyResolveFlags, proxyURI);
|
rv = httpChannel->Init(uri, caps, proxyInfo, proxyResolveFlags, proxyURI);
|
||||||
|
Loading…
Reference in New Issue
Block a user