summaryrefslogtreecommitdiff
path: root/http-internal.h
diff options
context:
space:
mode:
authorLeon M. George <leon@georgemail.eu>2022-08-01 10:16:18 +0200
committerAzat Khuzhin <azat@libevent.org>2022-08-13 20:12:18 +0200
commit1bdc91350ee30d3aa51fe809fd719c2c3183b445 (patch)
tree7f0c51badd9293c101f206a874e1f437815011dc /http-internal.h
parenta4cdc3c5e864c3ee4b836c78f92e07229be39c0f (diff)
downloadlibevent-1bdc91350ee30d3aa51fe809fd719c2c3183b445.tar.gz
http: allow setting bevcb per socket
Co-authored-by: Azat Khuzhin <azat@libevent.org> v2: remove handling of HTTP_BIND_IPV6
Diffstat (limited to 'http-internal.h')
-rw-r--r--http-internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/http-internal.h b/http-internal.h
index a5844e1d..705daba2 100644
--- a/http-internal.h
+++ b/http-internal.h
@@ -128,6 +128,10 @@ TAILQ_HEAD(evconq, evhttp_connection);
struct evhttp_bound_socket {
TAILQ_ENTRY(evhttp_bound_socket) next;
+ struct evhttp *http;
+ struct bufferevent* (*bevcb)(struct event_base *, void *);
+ void *bevcbarg;
+
struct evconnlistener *listener;
};