cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH 2/2] simplify code of Curl_resolv_timeout()

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Fri, 2 Apr 2010 14:08:16 +0200

On Mon March 29 2010 06:49:29 souvik.datta_at_wipro.com wrote:
> I am using following timeouts in my application:
>
> CURLOPT_CONNECTTIMEOUT
> CURLOPT_LOW_SPEED_LIMIT
> CURLOPT_LOW_SPEED_TIME
>
> There is no custom SIGNAL handler in my application for time outs.
>
> Pl. find the lib/curl_config.h file as attached.

If nobody objects, I'd like to simplify the code of Curl_resolv_timeout(). In
case there is no timeout requested, it's not necessary to run through all the
scary signal handling code.

Kamil

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2010-04-02