Bug 1871082 - Remove unnecessary commented out TEST_RESTART_LOGIC code r=edgul,necko-reviewers,valentin

Differential Revision: https://phabricator.services.mozilla.com/D209435
This commit is contained in:
Sean
2024-05-03 19:38:24 +00:00
parent 8aaf1427a7
commit 856299b778

View File

@@ -895,14 +895,6 @@ bool nsHttpConnection::IsAlive() {
nsresult rv = mSocketTransport->IsAlive(&alive);
if (NS_FAILED(rv)) alive = false;
// #define TEST_RESTART_LOGIC
#ifdef TEST_RESTART_LOGIC
if (!alive) {
LOG(("pretending socket is still alive to test restart logic\n"));
alive = true;
}
#endif
return alive;
}