1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -05:00

TODO: CLOEXEC

Closes #2252
This commit is contained in:
Daniel Stenberg 2018-04-30 00:10:45 +02:00
parent c39ed80526
commit 0cbfff9895
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -43,6 +43,7 @@
1.25 Expose tried IP addresses that failed 1.25 Expose tried IP addresses that failed
1.26 CURL_REFUSE_CLEARTEXT 1.26 CURL_REFUSE_CLEARTEXT
1.27 hardcode the "localhost" addresses 1.27 hardcode the "localhost" addresses
1.28 FD_CLOEXEC
2. libcurl - multi interface 2. libcurl - multi interface
2.1 More non-blocking 2.1 More non-blocking
@ -430,6 +431,14 @@
https://tools.ietf.org/html/draft-ietf-dnsop-let-localhost-be-localhost-02 https://tools.ietf.org/html/draft-ietf-dnsop-let-localhost-be-localhost-02
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
2. libcurl - multi interface 2. libcurl - multi interface
2.1 More non-blocking 2.1 More non-blocking