mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:07:34 +00:00
LibCore: Close accepted sockets on exec() and make them non-blocking
Previously accept() would copy the listener socket's cloexec and non-blocking flag. With that fixed however TCPServer and LocalServer now leak file descriptors into child processes and are blocking.
This commit is contained in:
parent
89956cb0d6
commit
07341c3594
3 changed files with 22 additions and 1 deletions
Binary file not shown.
Before Width: | Height: | Size: 357 B After Width: | Height: | Size: 10 KiB |
Loading…
Add table
Add a link
Reference in a new issue