summaryrefslogtreecommitdiff
path: root/sntp/libevent/http-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'sntp/libevent/http-internal.h')
-rw-r--r--sntp/libevent/http-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sntp/libevent/http-internal.h b/sntp/libevent/http-internal.h
index 82dd402..a83160c 100644
--- a/sntp/libevent/http-internal.h
+++ b/sntp/libevent/http-internal.h
@@ -74,6 +74,7 @@ struct evhttp_connection {
#define EVHTTP_CON_INCOMING 0x0001 /* only one request on it ever */
#define EVHTTP_CON_OUTGOING 0x0002 /* multiple requests possible */
#define EVHTTP_CON_CLOSEDETECT 0x0004 /* detecting if persistent close */
+#define EVHTTP_CON_AUTOFREE 0x0008 /* set when we want to auto free the connection */
struct timeval timeout; /* timeout for events */
int retry_cnt; /* retry count */
@@ -99,6 +100,7 @@ struct evhttp_connection {
struct event_base *base;
struct evdns_base *dns_base;
+ int ai_family;
/* Saved conn_addr, to extract IP address from it.
*