Bug 1605096 - Make sure that in all cases we only make one QUIC connection. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D57792
This commit is contained in:
@@ -1241,6 +1241,11 @@ bool nsHttpConnectionMgr::AtActiveConnectionLimit(nsConnectionEntry* ent,
|
||||
uint32_t caps) {
|
||||
nsHttpConnectionInfo* ci = ent->mConnInfo;
|
||||
uint32_t totalCount = TotalActiveConnections(ent);
|
||||
|
||||
if (ci->IsHttp3()) {
|
||||
return totalCount > 0;
|
||||
}
|
||||
|
||||
uint32_t maxPersistConns = MaxPersistConnections(ent);
|
||||
|
||||
LOG(
|
||||
|
||||
Reference in New Issue
Block a user