cf-socket: set FD_CLOEXEC on all sockets opened

Removed TODO item

Reported-by: Joshua Rogers
Closes #18968
This commit is contained in:
Stefan Eissing 2025-10-09 12:19:49 +02:00 committed by Daniel Stenberg
parent a4d3c4e847
commit 9d7b532404
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 20 additions and 13 deletions

View file

@ -34,7 +34,6 @@
1.20 SRV and URI DNS records
1.22 CURLINFO_PAUSE_STATE
1.25 Expose tried IP addresses that failed
1.28 FD_CLOEXEC
1.30 config file parsing
1.31 erase secrets from heap/stack after use
1.32 add asynch getaddrinfo support
@ -349,14 +348,6 @@
https://github.com/curl/curl/issues/2126
1.28 FD_CLOEXEC
It sets the close-on-exec flag for the file descriptor, which causes the file
descriptor to be automatically (and atomically) closed when any of the
exec-family functions succeed. Should probably be set by default?
https://github.com/curl/curl/issues/2252
1.30 config file parsing
Consider providing an API, possibly in a separate companion library, for