curl-library
large file support
From: Greg Hewgill <greg_hewgill_at_ud.com>
Date: Thu, 12 Feb 2004 10:26:24 -0600
Date: Thu, 12 Feb 2004 10:26:24 -0600
I'm working on adding large file support (>2GB) to an application that uses curl. I'm using libcurl 7.11.0 on linux. I found that the "contentlength" local variable in Curl_readwrite is declared as a "long", which is only 32 bits wide on my platform. I changed this declaration to "off_t" and the GET functionality worked for me.
I'm nowhere near done making all these large file changes, so I'll let you know if I find anything else in libcurl.
Greg Hewgill
Received on 2004-02-12