cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: timout opt unstable in 7.20

From: Roland Osborne <roland.osborne_at_gmail.com>
Date: Thu, 1 Apr 2010 10:38:12 -0700

Thank you all!
the CURLOPT_NOSIGNAL seems to have fixed the crash i was experiencing :)

> Hi, i recently bumped into this issue with timeouts. In your sample
> code, i noticed that curl_global_init is not called. So i tried
> calling curl_global_init before any thread is started, only to find
> out that the problem is something else. Calling curl_easy_setopt(curl,
> CURLOPT_NOSIGNAL, 1); seems to solve the problem. I am on ubuntu 9.10.
> What i understand is, if we do not need timeouts during domain name
> resoluiton, then everything is fine with the standard setup right?

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