mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +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
|
||||
if (mPipeliningOverSSL)
|
||||
caps |= NS_HTTP_ALLOW_PIPELINING;
|
||||
}
|
||||
|
||||
if (!IsNeckoChild()) {
|
||||
// HACK: make sure PSM gets initialized on the main thread.
|
||||
net_EnsurePSMInit();
|
||||
}
|
||||
if (!IsNeckoChild()) {
|
||||
// HACK: make sure PSM gets initialized on the main thread.
|
||||
net_EnsurePSMInit();
|
||||
}
|
||||
|
||||
rv = httpChannel->Init(uri, caps, proxyInfo, proxyResolveFlags, proxyURI);
|
||||
|
Loading…
x
Reference in New Issue
Block a user