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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user