curl-library
Re: Aborting curl_easy_perform if no response
Date: Wed, 19 Mar 2008 17:12:20 +0530
I can use CURLOPT_TIMEOUT function to set the timeout.
But my requirement is if i post a request and got a response, i will use the
same connection
and post a query later any time(no time limit)
In this case will it help me?
On Wed, Mar 19, 2008 at 10:30:30AM +0530, Vijay wrote:
> when I do an curl_easy_perform()
> and the server accepts the message, but not doing any response.
> So my call is in block state itself.
> Is there anyway to abort or set timeout if there are no response for long
time.
Yes to both. Read the curl_easy_setopt man page to find out how.
>>> Dan
On Wed, Mar 19, 2008 at 10:30 AM, Vijay <nags.vijay_at_gmail.com> wrote:
> when I do an curl_easy_perform()
> and the server accepts the message, but not doing any response.
> So my call is in block state itself.
> Is there anyway to abort or set timeout if there are no response for long
> time.
>
>
>
> --
> VIJAY
-- VIJAYReceived on 2008-03-19