]> granicus.if.org Git - libevent/commit
Allow http connections to use evdns for hostname looksups.
authorNick Mathewson <nickm@torproject.org>
Wed, 30 Dec 2009 05:11:27 +0000 (00:11 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 14 Jan 2010 20:18:25 +0000 (15:18 -0500)
commitc698b77d197b809e606ee56881330af41c02fc04
treeb16de1639d65cf9b1ba9081154c312f643cf24b1
parenta334b31c6f4fac24eb30048edb16b188a3ee2250
Allow http connections to use evdns for hostname looksups.

This was as simple as using bufferevent_connect_hostname instead of
calling connect() ourself, which already knows how to use an
evdns_base if it gets one.

Untangling the bind code might be a little trickier.
http-internal.h
http.c
include/event2/http.h