I come to you with a heavy heart.
So, as Gilad found out a week or so ago, LInux has some serious issues
when using epoll() with dup(). If you have two fds that refer to the
same file, and you tell epoll_ctl() to listen for events on one, and
then you close it but leave the other one open, epoll_
I'm writing this as someone who uses 1.4 extensively and is considering the
migration to 2.x.
I consider a change between 1 and 2 a major version change.
I would not feel hard done by if the behaviour changes between major release
version for good reason - in the case of libevent, performance
Hello
I have my event callback receiving data from the network using recv. If recv
returns 0 (FIN received), I call a function to disconnect and cleanup.
Part of my cleanup is as follows
if (server->receive_event) {
event_free(server->receive_event);
server->receive_event = NULL;
}
I h