mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-03 07:29:23 +00:00
Fix performance bottlenecks with nt fork redbean
This commit is contained in:
parent
d57f87dc40
commit
e5314dedde
1 changed files with 3 additions and 1 deletions
|
@ -6943,7 +6943,9 @@ static void HandleConnection(size_t i) {
|
|||
return;
|
||||
}
|
||||
}
|
||||
if (!pid) CloseServerFds();
|
||||
if (!pid && !IsWindows()) {
|
||||
CloseServerFds();
|
||||
}
|
||||
VERBOSEF("(srvr) accept %s via %s", DescribeClient(), DescribeServer());
|
||||
HandleMessages();
|
||||
DEBUGF("(stat) %s closing after %,ldµs", DescribeClient(),
|
||||
|
|
Loading…
Add table
Reference in a new issue