]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
TODO: CLOEXEC
authorDaniel Stenberg <daniel@haxx.se>
Sun, 29 Apr 2018 22:10:45 +0000 (00:10 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 29 Apr 2018 22:10:45 +0000 (00:10 +0200)
Closes #2252

docs/TODO

index b6b6dfe0d8ff4148929b5883dde33c515d9470d8..4a3a9b7d9614f77917d9ae10665f4ab3fe66b4dd 100644 (file)
--- 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
 
  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