cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl libssh2 sftp 4GB limit

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 6 Mar 2008 14:11:12 +0100 (CET)

On Thu, 6 Mar 2008, mikep_at_proatria.com wrote:

> The replacement function is below. In summary, I think the act of
> multiplying an unsigned long is losing the part we need - probably needs a
> cast, but by using a simple assignment (to get the 64 bit value) then
> multiplying up the msl, before adding the lsl we get what we need. I
> realise this is libssh2 and not curl, but I thought it worth posting here as
> it tidies up the issue.

It's quite clearly a libssh2 bug, and I've responded to the libssh2 bug
tracker entry you filed. Let's continue this issue there!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-03-06