]> granicus.if.org Git - curl/commit
Curl_resolver_is_resolved: differentiate between host/proxy errors
authorDaniel Stenberg <daniel@haxx.se>
Mon, 5 Dec 2011 11:44:55 +0000 (12:44 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 5 Dec 2011 11:44:55 +0000 (12:44 +0100)
commitc50dbf670f5780db7658bb15f5d24c8706202584
tree4f2694ef7c6263b5471cf9a5cb1965c4c55015dc
parent0cf05af744a76f2411ea907d8ec4e929bd945245
Curl_resolver_is_resolved: differentiate between host/proxy errors

As there are different return codes for host vs proxy errors, this function
now properly returns the code properly depending on what was attempted to get
resolved.

Bug: http://curl.haxx.se/mail/archive-2011-12/0010.html
Reported by: Jason Liu
lib/asyn-ares.c