cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: timout opt unstable in 7.20

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 1 Apr 2010 10:22:56 +0200 (CEST)

On Thu, 1 Apr 2010, Roland Osborne wrote:

> CURL seems to crash in my app when I rely on the TIMEOUT option. I wrote a
> simple app to isolate the problem (attached).

You didn't mention on what OS you're on, but I assume a *nix-like one and I
assume you use the regular resolver (ie you didn't do a c-ares build). Since
you didn't switch off libcurl's use of signals (CURLOPT_NOSIGNAL) I guess your
problem is that signals and threading don't mix very well in unix land.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-04-01