diff options
Diffstat (limited to 'contrib/ntp/sntp/libevent/http-internal.h')
-rw-r--r-- | contrib/ntp/sntp/libevent/http-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/ntp/sntp/libevent/http-internal.h b/contrib/ntp/sntp/libevent/http-internal.h index 82dd402..a83160c 100644 --- a/contrib/ntp/sntp/libevent/http-internal.h +++ b/contrib/ntp/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. * |