« Previous | Next » 

Revision 376a8634

Child 05f6f6a2

Added by Vangelis Koukis over 12 years ago

Workaround libevent-dns fd lost after daemonizing

Currently, gevent uses libevent-dns for asynchornous DNS resolution,
which opens a socket upon initialization time. This fails when
becoming a daemon, leading to all DNS queries timing out, since all file
descriptors are being closed.

Since we can't get the fd reliably, leave all file descriptors open on

This has been fixed in gevent's trunk,
see https://code.google.com/p/gevent/issues/detail?id=2.


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences