mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 11:37:30 +09:00
Bug 1550498.
This commit is contained in:
parent
4ad12f3588
commit
31b1431ea1
2 changed files with 8 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue