cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Aplication blocks

From: Raquel Vieira <raquel.vieira_at_ent.efacec.pt>
Date: Fri, 7 Apr 2006 18:07:49 +0100

How can I change the timeout values?
I can have a multi-threaded application if I do the curl_global_init
when only one thread is running, right?

Raquel

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of man_at_tfhs.net
Sent: sexta-feira, 7 de Abril de 2006 17:41
To: libcurl development
Subject: Re: Aplication blocks

On Fri, Apr 7, 2006, Raquel Vieira <raquel.vieira_at_ent.efacec.pt> said:

> Hello.
>
>
>
> I have an aplication that send Post messages to most URLs and get them
> responses.
>
> I'm having some problems when trying to send that messages to an URL
> that is not responding.
>
> The aplication blocks (the methods curl_easy_perfom doesn't return). I
> have 42 of URLs to send messages.

if you have a single-threaded application (using curl_easy_*), the
library
will block until one of the timeouts occur. try changing the timeout
values if they are not short enough, or switch to a
multi-process/multi-threaded design.

allan

>
>
>
> Can anyone hel me.
>
>
>
> Thanks,
>
>
>
> Raquel
>
>

-- 
m. allan noah
IT Director, TfHS.net
ph# (804) 355-5489
tf# (866) 724-9722
fx# (804) 355-0477
Received on 2006-04-07