mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
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:
parent
30a8cfd2b9
commit
2d55f14799
1 changed files with 2 additions and 2 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue