diff options
author | John Ohl <john@collabriasoftware.com> | 2014-11-16 23:40:16 -0500 |
---|---|---|
committer | John Ohl <john@collabriasoftware.com> | 2014-11-16 23:40:16 -0500 |
commit | 10fe4ef300df9475ec37e817aa5777044f7d03b4 (patch) | |
tree | 7ccb8484309291174d3e71451fb06c0fb3a6d97a | |
parent | b0e99244ce39ae0840a782ec66461837db7fc888 (diff) | |
download | libevent-10fe4ef300df9475ec37e817aa5777044f7d03b4.tar.gz |
Prevent duplicate event_del on fd
-rw-r--r-- | http.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1265,6 +1265,7 @@ evhttp_connection_reset_(struct evhttp_connection *evcon) shutdown(evcon->fd, EVUTIL_SHUT_WR); evutil_closesocket(evcon->fd); + bufferevent_setfd(evcon->bufev, -1); evcon->fd = -1; } |