cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] Consistent error return for bad proxy name when using c-ares

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 27 Jan 2010 00:01:10 +0100 (CET)

On Tue, 26 Jan 2010, Mike Crowe wrote:

> This patch makes libcurl return CURLE_COULDNT_RESOLVE_PROXY when it is the
> proxy that cannot be resolved when using c-ares. This matches the behaviour
> when not using c-ares.

Thanks, applied.

> I copied the method from hostthre.c although I note that the string format
> differs slightly - I can submit another patch for that if required.

Nah, the exact wording isn't what matters. Actually at times it helps to have
them slightly different to aid us detect what code that failed etc...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-01-27