cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: About curl_multi_info_read

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 5 Dec 2011 12:49:12 +0100 (CET)

On Mon, 5 Dec 2011, Jason Liu wrote:

Hi!

Please use the curl-library mailing list for libcurl issues. I'm CC'ing my
reply over to that list now.

> I found an issue in version
> Libcurl/7.22.0. OpenSSL/1.0.0e zlib/1.2.5 c-ares/1.7.4.
> When I try to use a wrong proxy(such as www.wrongProxy.com) to load, I
> receive CURL_COULDNT_RESOLVE_HOST from curl_multi_info_read's CURLMsg's
> result.
>
> I think ....RESOLVE_PROXY should be returned.So I think it's a bug of curl.

I found a single case where this would be able to occur and I've patched it
like the attached file shows. I'll merge and push this change soonish unless
someone reports a problem with it before then.

yThanks for the report!

-- 
  / daniel.haxx.se


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2011-12-05