• Nick Mathewson's avatar
    Fix a crash when using evdns from Libevent 2. · 81eee0ec
    Nick Mathewson authored
    When we tried to use the deprecated non-threadsafe evdns
    interfaces in Libevent 2 without using the also-deprecated
    event_init() interface, Libevent 2 would sensibly crash, since it
    has no guess where to find the Libevent library.
    
    Here we use the evdns_base_*() functions instead if they're
    present, and fake them if they aren't.
    81eee0ec
To find the state of this project's repository at the time of any of these versions, check out the tags.