I made the curl tool switch from using CURLOPT_IOCTLFUNCTION to now use the
authorDaniel Stenberg <daniel@haxx.se>
Fri, 11 Jan 2008 14:00:47 +0000 (14:00 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 11 Jan 2008 14:00:47 +0000 (14:00 +0000)
commite2c817731a6abd94c1946e855938ec5f12167c31
treed3f5712922a47a6b2051da3d659ff4762c13a69b
parent8df7e0bdbab86344e85827c41e5e100043e0f77f
I made the curl tool switch from using CURLOPT_IOCTLFUNCTION to now use the
spanking new CURLOPT_SEEKFUNCTION simply to take advantage of the improved
performance for the upload resume cases where you want to upload the last
few bytes of a very large file. To implement this decently, I had to switch
the client code for uploading from fopen()/fread() to plain open()/read() so
that we can use lseek() to do >32bit seeks (as fseek() doesn't allow that)
on systems that offer support for that.
CHANGES
configure.ac
src/main.c