diff options
author | Azat Khuzhin <a3at.mail@gmail.com> | 2014-03-21 17:32:09 +0400 |
---|---|---|
committer | Azat Khuzhin <a3at.mail@gmail.com> | 2014-03-21 17:32:09 +0400 |
commit | 12c29b0f6eb55cfc096276f3ad808248cee6ff76 (patch) | |
tree | fa51fa713370ceb1953be2bd0b2c47c61f0baa80 /http-internal.h | |
parent | a60632a1ec6649dfa0be175d064b1ca6192cc5bf (diff) | |
download | libevent-12c29b0f6eb55cfc096276f3ad808248cee6ff76.tar.gz |
Add evhttp_connection_set_family() to set addrinfo->family for DNS requests
This is useful if you want to avoid extra dns requests.
Diffstat (limited to 'http-internal.h')
-rw-r--r-- | http-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/http-internal.h b/http-internal.h index 82dd402a..6f2f5b85 100644 --- a/http-internal.h +++ b/http-internal.h @@ -99,6 +99,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. * |