Commit 0b9eb1bffbd5af7d1dc6987f1a859e5f1e8c25e8

Nick Mathewson 2009-11-03T20:40:48

Add a bufferevent function to resolve a name then connect to it. This function, bufferevent_socket_connect_hostname() can either use evdns to do the resolve, or use a new function (evutil_resolve) that uses getaddrinfo or gethostbyname, like http.c does now. This function is meant to eventually replace the hostname resolution mess in http.c. svn:r1496