restore connection closing on client request

listening ports are made different by one of previous commits
  so a hanging out instance is no issue for consequent tests
This commit is contained in:
Sergei Golovin 2024-03-07 15:17:00 +04:00
parent 30a8cfd2b9
commit 2d55f14799

View file

@ -219,7 +219,7 @@
// ready for another request-response cycle
[self _resetCycle]; // <- the _request and _response are deallocated
/*if (_isClose)
if (_isClose)
{
// if the client didn't supply the header 'Connection' or explicitly stated
// to close the current connection
@ -227,7 +227,7 @@
return;
// BEWARE: it can left the socket busy for HTTP after server stopping (for HTTPS is OK)
// so consequent tests are failed bc their server can't bind
} */
}
}
[_cfh readInBackgroundAndNotify];
}