Message136872
> So, SOCK_CLOEXEC is available.
> Note that I don't like the idea of falling back to FD_CLOEXEC since
> it's not atomic, and some people might rely on this.
> Can we close this issue?
Well, this is apparently a feature request for socketserver.TCPServer.
I don't see any problem in adding a best-effort option to add the cloexec flag, possibly atomically, and fall back on FD_CLOEXEC.
People who "rely on this" can only do it if their system supports it anyway. |
|
Date |
User |
Action |
Args |
2011-05-25 16:53:15 | pitrou | set | recipients:
+ pitrou, gregory.p.smith, nadeem.vawda, neologix, Christophe.Devriese |
2011-05-25 16:53:15 | pitrou | set | messageid: <1306342395.92.0.512874319785.issue12107@psf.upfronthosting.co.za> |
2011-05-25 16:53:15 | pitrou | link | issue12107 messages |
2011-05-25 16:53:15 | pitrou | create | |
|