gettimeofday() and connect.c
Date: Sat, 21 Apr 2007 19:09:22 +0200
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.
- text/plain attachment: connect.patch