cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: gettimeofday() and connect.c

From: Robert Iakobashvili <coroberti_at_gmail.com>
Date: Sun, 22 Apr 2007 14:51:02 +0300

On 4/21/07, Yang Tse <yangsita_at_gmail.com> wrote:
> Here's another patch that also avoids another gettimeofday call.
>
> It avoids one gettimeofday call for each conexion that is established
> after using Curl_setopt with any of CURLOPT_CONNECTTIMEOUT,
> CURLOPT_CONNECTTIMEOUT_MS, CURLOPT_TIMEOUT or CURLOPT_TIMEOUT_MS.
>
> If the cases you're profiling uses them, it would be nice to know the
> impact of applying the patch.

Great! Thank you.
I will look at it in scenario with new clients added,
establishming lots of connections.

-- 
Sincerely,
Robert Iakobashvili,
coroberti %x40 gmail %x2e com
...................................................................
Navigare necesse est, vivere non est necesse
...................................................................
http://curl-loader.sourceforge.net
An open-source HTTP/S, FTP/S traffic
generating, and web testing tool.
Received on 2007-04-22