-
Dag Erling Smørgrav authored
even though it is not used, and will return EFAULT if one is not provided. Also, instead of silently accepting EBADF from epoll_ctl(), check that sp->fd != -1 before calling vca_del(). This can happen in some cases where vca_pollsession() closes the session before returning. This way, we will still get an assertion failure if epoll_ctl() fails for some other (unexpected) reason. Thanks to airmax for his assistance in tracking this down. git-svn-id: http://www.varnish-cache.org/svn/trunk@1143 d4fa192b-c00b-0410-8231-f00ffab90ce4
baa4d2f6