Skip to content
Commit e2c81773 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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.
parent 8df7e0bd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment