зеркало из https://github.com/mozilla/pjs.git
Backing out fix for bug 91429
Seems to be triggerring bug 125405 Going back to version 1.47 of nsHttpHandler.cpp
This commit is contained in:
Родитель
c51c71d818
Коммит
081379b4d0
|
@ -736,17 +736,6 @@ nsHttpHandler::GetConnection_Locked(nsHttpConnectionInfo *ci,
|
|||
NS_RELEASE(conn);
|
||||
return rv;
|
||||
}
|
||||
|
||||
// We created a new connection
|
||||
// If idle + active connections > max connections, then purge the oldest idle one.
|
||||
if (mIdleConnections.Count() + mActiveConnections.Count() > mMaxConnections) {
|
||||
NS_ASSERTION(mIdleConnections.Count() > 0, "idle connection list is empty");
|
||||
if (mIdleConnections.Count() > 0) {
|
||||
nsHttpConnection *conn = (nsHttpConnection *) mIdleConnections[0];
|
||||
mIdleConnections.RemoveElement(0);
|
||||
NS_RELEASE(conn);
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
// Update the connectionInfo (bug 94038)
|
||||
|
|
Загрузка…
Ссылка в новой задаче