rsmills36 / pyftpdlib

Automatically exported from code.google.com/p/pyftpdlib
Other
0 stars 0 forks source link

Certain IO pollers should provide a fileno() method #251

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This only makes sense for Epoll and Kqueue classes.
That is needed because daemonizing via daemon library can silently close the 
pollster fd resulting in _pollster.poll() raising EBADF.
In that case the user can do:

daemon.DaemonContext(files_preserve=[ioloop.fileno()], ...)

Original issue reported on code.google.com by g.rodola on 18 Apr 2013 at 6:10

GoogleCodeExporter commented 9 years ago
Fixed in r1217.

Original comment by g.rodola on 18 Apr 2013 at 6:22

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 19 Apr 2013 at 12:49

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 22 Apr 2013 at 2:50