bug 937612 - speculative connect after shutdown r=mayhemer

--HG--
extra : rebase_source : bdece017e4a26ad940e25eb052c983edb145e9d3
This commit is contained in:
Patrick McManus 2013-11-16 08:54:44 -05:00
parent faafd9833d
commit 2e768f763d

View File

@ -1909,6 +1909,9 @@ NS_IMETHODIMP
nsHttpHandler::SpeculativeConnect(nsIURI *aURI, nsHttpHandler::SpeculativeConnect(nsIURI *aURI,
nsIInterfaceRequestor *aCallbacks) nsIInterfaceRequestor *aCallbacks)
{ {
if (!mHandlerActive)
return NS_OK;
nsISiteSecurityService* sss = gHttpHandler->GetSSService(); nsISiteSecurityService* sss = gHttpHandler->GetSSService();
bool isStsHost = false; bool isStsHost = false;
if (!sss) if (!sss)