Willy Tarreau
1eead503da
[BUG] don't call epoll_ctl() on closed sockets
...
Some I/O callbacks are able to close their socket themselves. We
want to check this before calling epoll_ctl(EPOLL_CTL_DEL), otherwise
we get a -1 EBADF. Right now is looks like this could not cause any
trouble but the case is racy enough to fix it.
2009-03-28 19:43:06 +01:00
..
2008-08-03 09:41:05 +02:00
2009-03-21 18:13:21 +01:00
2009-03-15 21:49:00 +01:00
2008-06-29 17:17:38 +02:00
2009-01-09 11:14:39 +01:00
2009-03-21 18:58:32 +01:00
2009-03-21 18:58:32 +01:00
2009-03-21 22:43:12 +01:00
2008-07-16 10:30:42 +02:00
2009-03-28 17:54:35 +01:00
2009-03-21 10:23:36 +01:00
2007-11-28 14:20:44 +01:00
2007-11-28 14:20:44 +01:00
2007-11-28 14:20:44 +01:00
2008-08-03 20:48:50 +02:00
2008-08-03 20:48:50 +02:00
2008-08-03 20:48:50 +02:00
2008-08-03 20:48:50 +02:00
2009-03-28 19:43:06 +01:00
2009-01-25 15:42:27 +01:00
2009-03-06 14:29:25 +01:00
2009-03-21 20:43:57 +01:00
2008-07-16 10:30:42 +02:00
2008-07-16 10:30:42 +02:00
2008-05-30 07:07:19 +02:00
2009-01-25 13:49:53 +01:00
2009-03-21 21:57:30 +01:00
2009-03-15 22:55:47 +01:00
2009-03-28 11:02:18 +01:00
2008-07-16 10:30:42 +02:00
2009-03-15 13:46:16 +01:00
2008-12-07 23:51:12 +01:00
2007-01-07 02:12:57 +01:00
2007-06-17 21:51:38 +02:00
2008-07-16 10:30:42 +02:00
2009-03-28 11:01:20 +01:00
2008-08-13 23:43:26 +02:00
2008-05-25 10:09:02 +02:00
2009-03-08 20:33:29 +01:00
2009-03-28 11:01:20 +01:00
2009-03-28 17:54:35 +01:00
2009-03-05 16:56:16 +01:00
2008-08-03 20:48:50 +02:00