From: Daniel Stenberg Date: Sun, 29 Apr 2018 22:10:45 +0000 (+0200) Subject: TODO: CLOEXEC X-Git-Tag: curl-7_60_0~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0cbfff98953155c590f447f15422e78ca64d49c4;p=thirdparty%2Fcurl.git TODO: CLOEXEC Closes #2252 --- diff --git a/docs/TODO b/docs/TODO index b6b6dfe0d8..4a3a9b7d96 100644 --- a/docs/TODO +++ b/docs/TODO @@ -43,6 +43,7 @@ 1.25 Expose tried IP addresses that failed 1.26 CURL_REFUSE_CLEARTEXT 1.27 hardcode the "localhost" addresses + 1.28 FD_CLOEXEC 2. libcurl - multi interface 2.1 More non-blocking @@ -430,6 +431,14 @@ 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.1 More non-blocking