Fix shutdown problem and reduce event_{add,del,set} calls.
This commit is contained in:
1 parent
b02618d19c
commit
5f0c84f46a
2 files changed
+12
-3
No files matched your search
@@ -97,6 +97,7 @@ struct user_net_io
|
||||
int sd; /** socket descriptor */
|
||||
struct event event; /** libevent struct for read/write events */
|
||||
struct event timeout; /** timeout handling */
|
||||
int events; /** currently set events, used to reduce event_{add,del,set} calls */
|
||||
|
||||
struct hub_recvq* recv_queue;
|
||||
struct hub_sendq* send_queue;
|
||||
|
||||
Reference in new issue
Block a user