cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Timeout in milliseconds

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 25 Aug 2006 08:20:28 +0200 (CEST)

On Thu, 24 Aug 2006, Alexander Lazic wrote:

> I have thought about this issue.
>
> To keep a backward compatibility I thought to add:

We only need backward compatibility in the API/ABI and that's basically just
the curl_easy_setopt() options that set timeouts. So internally we can change
to counting milliseconds all over. Or rather, we'd need to keep seconds +
milliseconds if we want to be really backwards compatible since 32 bits only
can keep around 50 days when counting milliseconds but 68 years when counting
full seconds.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-08-25