cURL / Mailing Lists / curl-users / Single Mail

curl-users

About DNS timeout

From: Jason Liu <jason.liu_at_torchmobile.com.cn>
Date: Mon, 26 Dec 2011 01:19:24 -0500

Hi
Is there an API to set DNS resolving timeout?

Thanks a lot!
Jason Liu

----- 原始消息 -----
发件人: curl-users-bounces_at_cool.haxx.se <curl-users-bounces_at_cool.haxx.se>
收件人: the curl tool <curl-users_at_cool.haxx.se>
抄送: libcurl hacking <curl-library_at_cool.haxx.se>
发送时间: Mon Dec 05 06:49:12 2011
主题: Re: About curl_multi_info_read

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
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
-------------------------------------------------------------------
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-26