Subject: | "libev: ev_io_start called with negative fd" after "Run out of open file descriptors" |
Date: | Tue, 18 Jun 2013 12:38:08 +0200 |
To: | bug-HTTP-Server-EV [...] rt.cpan.org |
From: | Edgar Fuß <ef [...] math.uni-bonn.de> |
I get
assertion "("libev: ev_io_start called with negative fd", fd >= 0)" failed: file "libev/ev.c", line 3228, function "ev_io_start"
after
HTTP::Server::EV ERROR: Can`t accept connection. Run out of open file descriptors! Listening stopped until one of the server connection will be closed! at ...
There seems to be a "return" missing in listen_cb() after the "ev_io_stop(EV_DEFAULT, &(listener->io));" below the warn() printing that message.