curl-library
Re: Doubt in CURLOPT_TIMEOUT and CURLOPT_NOSIGNAL
Date: Tue, 22 Feb 2011 14:40:23 +0530
if i am using curl_easy_setopt() to set these settings
CURLOPT_USERPWD,CURLOPT_POSTFIELDS,CURLOPT_CONNECTTIMEOUT,CURLOPT_TIMEOUT
curl_easy_perform() returns an error code relating to the success of
> the transfer. That code will indicate whether or not a timeout was hit.
>
>>>> Dan
how curl_easy_perform() will distinguish between error that it was
hit by CURLOPT_TIMEOUT or CURLOPT_POSTFIELDS or
CURLOPT_USERPWD...............
Your's Truely
Chirayu Joshi
On Tue, Feb 22, 2011 at 2:25 PM, Dan Fandrich <dan_at_coneharvesters.com> wrote:
> On Tue, Feb 22, 2011 at 02:13:11PM +0530, chirayu joshi wrote:
>> If i sent the request to webserver from client and i want to check
>> whether the webserver is working or not. Then CURLOPT_TIMEOUT and
>> CURLOPT_CONNECTTIMEOUT does not have any significance so as to check
>> whether webserver is working or not and if this is the case then which
>> is the method that will help me out to check whether webserver is
>> working or not.
>
> curl_easy_perform() returns an error code relating to the success of
> the transfer. That code will indicate whether or not a timeout was hit.
>
>>>> Dan
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-02-22