diff options
author | Maxime Henrion <mhenrion@appnexus.com> | 2013-05-23 16:29:17 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-05-24 11:04:11 -0400 |
commit | 31db8a02bd74957f9ae836a38043cd9589c2d325 (patch) | |
tree | 73cbc95096fa8711582eb0b465b38d7ef800591d /bufferevent-internal.h | |
parent | 1f29b18f51cb7080c1ffe5f51557979b71451b6a (diff) | |
download | libevent-31db8a02bd74957f9ae836a38043cd9589c2d325.tar.gz |
Fix a double close() bug in evhttp when the underlying bufferevent uses BEV_OPT_CLOSE_ON_FREE.
Diffstat (limited to 'bufferevent-internal.h')
-rw-r--r-- | bufferevent-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bufferevent-internal.h b/bufferevent-internal.h index 9ecede17..0c4df871 100644 --- a/bufferevent-internal.h +++ b/bufferevent-internal.h @@ -367,6 +367,8 @@ void bufferevent_init_generic_timeout_cbs_(struct bufferevent *bev); * that enabled EV_READ or EV_WRITE, or that disables EV_READ or EV_WRITE. */ int bufferevent_generic_adj_timeouts_(struct bufferevent *bev); +enum bufferevent_options bufferevent_get_options_(struct bufferevent *bev); + /** Internal use: We have just successfully read data into an inbuf, so * reset the read timeout (if any). */ #define BEV_RESET_GENERIC_READ_TIMEOUT(bev) \ |