curl-library
Re: libcurl and sock_cloexec
From: Ben Noordhuis <info_at_bnoordhuis.nl>
Date: Tue, 26 Apr 2011 00:04:50 +0200
Date: Tue, 26 Apr 2011 00:04:50 +0200
On Mon, Apr 25, 2011 at 23:41, Daniel Stenberg <daniel_at_haxx.se> wrote:
> I guess the question could perhaps also be put the other way: could there
> actually and realistically be any harm in making the sockets use F_CLOEXEC
> unconditionally?
Backwards compatibility? The child process needs to handle EBADF from
select() or poll().
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-04-26