mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Merge m-c to inbound
This commit is contained in:
commit
d0d422a19f
@ -165,6 +165,7 @@ public:
|
||||
void EndIdleMonitoring();
|
||||
|
||||
bool UsingSpdy() { return mUsingSpdy; }
|
||||
bool EverUsedSpdy() { return mEverUsedSpdy; }
|
||||
|
||||
// true when connection SSL NPN phase is complete and we know
|
||||
// authoritatively whether UsingSpdy() or not.
|
||||
|
@ -1212,7 +1212,7 @@ nsHttpConnectionMgr::RestrictConnections(nsConnectionEntry *ent)
|
||||
bool confirmedRestrict = false;
|
||||
for (PRUint32 index = 0; index < ent->mActiveConns.Length(); ++index) {
|
||||
nsHttpConnection *conn = ent->mActiveConns[index];
|
||||
if (!conn->ReportedNPN() || conn->CanDirectlyActivate()) {
|
||||
if (!conn->ReportedNPN() || conn->EverUsedSpdy()) {
|
||||
confirmedRestrict = true;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user