This is actually on top of PR #111
The resolver thread occasionally gets stuck in getaddrinfo() when the DNS or anything else is crappy or slow, so when a host is found in the DNS cache, leave the thread alone and let itself cleanup the mess.
cache lookup for async resolvers
the threaded resolver is a stubborn sheep though,
it still sits there and waits 5 seconds to complete
100 google.com resolves
fix build ifndef CURLRES_ASYNCH
Rework Curl_fetch_addr docs
The docs reflected the first implementation; updated to reflect the end result.
fix the threaded resolver stuck in getaddrinfo()
don't know how well that plays on Windows, though
don't forget about the gethostbyname_thread()
Thanks, merged and pushed now (as a single squashed commit)