This is a somewhat risky patch, but it has been intended for quite some time:

Remove the libevent handler for write events, only use one common event handler for both reading and writing.
This commit is contained in:
Jan Vidar Krey
2009-07-09 17:03:31 +02:00
parent 3fdbccb028
commit abd097acf0
4 changed files with 8 additions and 17 deletions

View File

@@ -96,7 +96,6 @@ struct user_net_io
{
int sd; /** socket descriptor */
struct event* ev_read; /** libevent struct for read events */
struct event* ev_write; /** libevent struct for write events */
struct hub_recvq* recv_queue;
struct hub_sendq* send_queue;