cURL / Mailing Lists / curl-library / Single Mail

curl-library

Name Resolution Error

From: Bradford Bruce <bbruce_at_interpool.com>
Date: Thu, 13 Oct 2005 14:07:16 -0400

               OS: Windows Xp
LibCurl Version: 7.14.1

When using the easy interface and calling curl_easy_perform after
setting an invalid Name in
curl_easy_setopt(curl_handle, CURLOPT_URL, URL) where URL is an invalid
address,

I get a return value of CURLE_OPERATION_TIMEOUTED and the error text is
"Resolving host timed out: [server name]"

I would have expected (And need) CURLE_COULDNT_RESOLVE_HOST.

Any suggestions?

-----------------------------------------------------
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced
-----------------------------------------------------
 

NOTICE: This e-mail and any attachment may contain confidential and/or legally privileged information. If you are not the intended recipient, you must not review, retransmit, print, copy, use or disseminate it. Please immediately notify us by return e-mail and delete it along with any attachment and do not retain a copy. If this e-mail contains a forwarded e-mail or is a reply to a prior e-mail, the contents may not have been produced by the sender and therefore we are not responsible for its contents.

This notice is automatically appended to each e-mail. It is the recipient's responsibility to take measures to ensure that this e-mail is virus free, and no responsibility is accepted by us for any loss or damage arising in any way from its use.
Received on 2005-10-13