mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1348081 - if we call ProcessPendingQForEntry with considerAll=false we should return if we already found a transaction in the urgent queue. r=mayhemer
This commit is contained in:
parent
1c99ae8f32
commit
4fca90dedd
@ -990,6 +990,9 @@ nsHttpConnectionMgr::ProcessPendingQForEntry(nsConnectionEntry *ent, bool consid
|
||||
bool dispatchedSuccessfully = false;
|
||||
|
||||
DispatchPendingQ(ent->mUrgentStartQ, ent, dispatchedSuccessfully, considerAll);
|
||||
if (dispatchedSuccessfully && !considerAll) {
|
||||
return dispatchedSuccessfully;
|
||||
}
|
||||
DispatchPendingQ(ent->mPendingQ, ent, dispatchedSuccessfully, considerAll);
|
||||
|
||||
return dispatchedSuccessfully;
|
||||
|
Loading…
Reference in New Issue
Block a user