evdns contains a bug related to thread lock. enable thread lock by evthread_use_pthreads() will cause successive evdns_base_resolve_ipv4() (and other resolve functions i think) to hang on EVDNS_LOCK(base) after one or several successful call to evdns_base_resolve_ipv4().
the patch attached with this mail solved this problem on my machine. Best regards, Zhuang Yuyao
110-evdns-thread-lock.patch
Description: Binary data
