1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 14:51:16 +02:00
nix/doc/manual/rl-next
MaxHearnden cd149b56c7 Set FD_CLOEXEC on sockets created by curl
Curl creates sockets without setting FD_CLOEXEC/SOCK_CLOEXEC, this can
cause connections to remain open forever when using commands like `nix
shell`

This change sets the FD_CLOEXEC flag using a CURLOPT_SOCKOPTFUNCTION
callback.

(cherry picked from commit 12d2527276)
2025-02-19 19:47:45 +00:00
..
config Compile hand-written release notes with changelog-d 2023-11-24 15:13:21 +01:00
curl-cloexec.md Set FD_CLOEXEC on sockets created by curl 2025-02-19 19:47:45 +00:00