cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: timeout with Unix multithread program

From: Legoff Vincent <vincent.legoff_at_siemens.com>
Date: Tue, 7 Jan 2003 17:16:40 +0100

My platform is the following:
SUN Solaris 8

I use a multithread program with themulti interface of CURL.

I have installed the 7.10.3 pre-release 3 but I have a problem when linking it with my program.
All the multi interface methods are not found.
Is there something that changed in this new release regarding the multi interface?

vincent

-----Original Message-----
From: Daniel Stenberg [mailto:daniel_at_haxx.se]
Sent: Tuesday, January 07, 2003 3:12 PM
To: libcurl Mailing list
Subject: RE: timeout with Unix multithread program

On Mon, 6 Jan 2003, Legoff Vincent wrote:

> I tried to set CURLOPT_TIMEOUT and CURLOPT_CONNECTTIMEOUT in my program,
> but the thread in charge of downloading the URL waits for something and
> nothing happens when the timeout should expires. (I use the multi interface
> of CURL)
>
> I have also set CURLOPT_NOSIGNAL to true (as specified in the
> documentation), but nothing change.

You may be experiencing a timeout-bug I've fixed in the upcoming 7.10.3. Can
you try the pre-release 3 and see if it works better for you?

If not, can you please provide us a full source code to a working program
that shows this behavior? What platform is this running on again?

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Received on 2003-01-07