Bug 1550498.
This commit is contained in:
parent
d46cd420c6
commit
39f9fcfc15
|
@ -504,9 +504,13 @@ nsHttpConnectionMgr::UpdateParam(nsParamName name, uint16_t value)
|
||||||
}
|
}
|
||||||
|
|
||||||
nsresult
|
nsresult
|
||||||
nsHttpConnectionMgr::ProcessPendingQ(nsHttpConnectionInfo *ci)
|
nsHttpConnectionMgr::ProcessPendingQ(nsHttpConnectionInfo* aCI)
|
||||||
{
|
{
|
||||||
LOG(("nsHttpConnectionMgr::ProcessPendingQ [ci=%s]\n", ci->HashKey().get()));
|
LOG(("nsHttpConnectionMgr::ProcessPendingQ [ci=%s]\n", aCI->HashKey().get()));
|
||||||
|
RefPtr<nsHttpConnectionInfo> ci;
|
||||||
|
if (aCI) {
|
||||||
|
ci = aCI->Clone();
|
||||||
|
}
|
||||||
return PostEvent(&nsHttpConnectionMgr::OnMsgProcessPendingQ, 0, ci);
|
return PostEvent(&nsHttpConnectionMgr::OnMsgProcessPendingQ, 0, ci);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -246,7 +246,8 @@ public:
|
||||||
uint32_t caps = 0)
|
uint32_t caps = 0)
|
||||||
{
|
{
|
||||||
TickleWifi(callbacks);
|
TickleWifi(callbacks);
|
||||||
return mConnMgr->SpeculativeConnect(ci, callbacks, caps);
|
RefPtr<nsHttpConnectionInfo> clone = ci->Clone();
|
||||||
|
return mConnMgr->SpeculativeConnect(clone, callbacks, caps);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Alternate Services Maps are main thread only
|
// Alternate Services Maps are main thread only
|
||||||
|
|
Loading…
Reference in New Issue
Block a user