cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CONNECTTIMEOUT crash

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 25 Apr 2007 09:36:16 +0200 (CEST)

On Wed, 25 Apr 2007, cbenitov_at_ya.com wrote:

> I have a problem with CONNECTTIMEOUT option. When I try to connect to a host
> unreachable my server always crashes.

Your *server*? That's your libcurl-using app I take it?

> It didntīt send any exception.

libcurl should return an error, and if the host isn't reachable by TCP, it
should most likely return before the timeout expires (unless you have a very
strict timeout).

> Itīs very important for the project to control this timeout. is it a known
> bug?

I can't recall anything like that, no.

> The version is 7.15.1 for tru64

We've done seven releases since...

> I have seen on version 7.16.2 changes document a bugfix:
>
> timeout would restart when signal caught while awaiting socket events
>
> is it the same problem?

No, I don't think that's the problem you experience.

> which is the last version for tru64?

7.16.2 is the latest public release for all platforms. But note that we don't
release/ship binaries in this project, we release source code and you have to
build it yourself or wait for or ask someone else to do it for you.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-04-25