From 0cbfff98953155c590f447f15422e78ca64d49c4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 30 Apr 2018 00:10:45 +0200 Subject: TODO: CLOEXEC Closes #2252 --- docs/TODO | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/TODO') diff --git a/docs/TODO b/docs/TODO index b6b6dfe0d..4a3a9b7d9 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 -- cgit v1.2.3