Hi,
On Mon, 17 Oct 2005, Nick Hengeveld wrote:
On Sun, Oct 16, 2005 at 02:50:18PM -0700, Nick Hengeveld wrote:
quoted
Is that the correct version number? I've been using 7.10.6 and
curl_easy_duphandle() has been working fine.
Apart from the version number question, this patch looks good.
Aaargh! Of course I was looking at the annotate output, which said Nov 9,
2004. But this is just the last change to the signature of the function!
So, AFAIK Sep 13, 2001, is the correct date, and 0x070900 is the version.
Although I'm now wondering whether it makes sense to bother trying to
use curl_easy_duphandle() at all and always use get_curl_handle()
instead.
There might well be a substantial overhead involved. I haven't measured
it, but it seems reasonable to assume that duplicating a handle is
implemented using a shorter code path than creating a handle all over
again.
Ciao,
Dscho