mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-05 04:02:28 +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;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!pid) CloseServerFds();
|
if (!pid && !IsWindows()) {
|
||||||
|
CloseServerFds();
|
||||||
|
}
|
||||||
VERBOSEF("(srvr) accept %s via %s", DescribeClient(), DescribeServer());
|
VERBOSEF("(srvr) accept %s via %s", DescribeClient(), DescribeServer());
|
||||||
HandleMessages();
|
HandleMessages();
|
||||||
DEBUGF("(stat) %s closing after %,ldµs", DescribeClient(),
|
DEBUGF("(stat) %s closing after %,ldµs", DescribeClient(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue