diff --git a/netwerk/protocol/http/nsHttpConnectionMgr.cpp b/netwerk/protocol/http/nsHttpConnectionMgr.cpp index c299c2be5326..e68fde503bf7 100644 --- a/netwerk/protocol/http/nsHttpConnectionMgr.cpp +++ b/netwerk/protocol/http/nsHttpConnectionMgr.cpp @@ -1379,7 +1379,7 @@ nsHttpConnectionMgr::IsUnderPressure(nsConnectionEntry *ent, // favor existing pipelines over more parallelism so as to reserve any // unused parallel connections for types that don't have existing pipelines. // - // The defintion of connection pressure is a pretty liberal one here - that + // The definition of connection pressure is a pretty liberal one here - that // is why we are using the more restrictive maxPersist* counters. // // Pipelines are also favored when the requested classification is already @@ -1389,7 +1389,7 @@ nsHttpConnectionMgr::IsUnderPressure(nsConnectionEntry *ent, PRInt32 currentConns = ent->mActiveConns.Length(); PRInt32 maxConns = - (ent->mConnInfo->UsingHttpProxy() && !ent->mConnInfo->UsingSSL()) ? + (ent->mConnInfo->UsingHttpProxy() && !ent->mConnInfo->UsingConnect()) ? mMaxPersistConnsPerProxy : mMaxPersistConnsPerHost; // Leave room for at least 3 distinct types to operate concurrently,