зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1354796 - Close unconnected HTTP connection with NS_ERROR_NET_TIMEOUT after 90s timeout. r=mcmanus
This commit is contained in:
Родитель
eeaa91fc5c
Коммит
124792a6b7
|
@ -2846,10 +2846,10 @@ nsHttpConnectionMgr::TimeoutTick()
|
|||
LOG(("Force timeout of half open to %s after %.2fms.\n",
|
||||
ent->mConnInfo->HashKey().get(), delta));
|
||||
if (half->SocketTransport()) {
|
||||
half->SocketTransport()->Close(NS_ERROR_ABORT);
|
||||
half->SocketTransport()->Close(NS_ERROR_NET_TIMEOUT);
|
||||
}
|
||||
if (half->BackupTransport()) {
|
||||
half->BackupTransport()->Close(NS_ERROR_ABORT);
|
||||
half->BackupTransport()->Close(NS_ERROR_NET_TIMEOUT);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче