On Wed, Jun 20, 2012 at 1:25 AM, Lauri Kasanen <[email protected]> wrote: > Hi > > After closing, we occasionally get a false write event on an already-closed > connection. Do not try to re-close in that case. > > - Lauri
When some event is triggered from epoll and the associated callback (event_write, event_read..etc) returns 0, means that the connection keeps alive, so it must return -1 so then it can invoke the event_close properly, the event_close is not just to close a file descriptor, also put aware everyone about that connection has been closed so an action can be taken. Remember that plugins depends of the events triggered so we cannot return '0' when a connection was close. Please explain the problem that you face in the CGI plugin when it returns -1. regards, > > _______________________________________________ > Monkey mailing list > [email protected] > http://lists.monkey-project.com/listinfo/monkey > -- Eduardo Silva http://edsiper.linuxchile.cl http://www.monkey-project.com _______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
