Georg Lippitsch brought CURLOPT_SEEKFUNCTION and CURLOPT_SEEKDATA to allow
authorDaniel Stenberg <daniel@haxx.se>
Thu, 10 Jan 2008 10:30:19 +0000 (10:30 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 10 Jan 2008 10:30:19 +0000 (10:30 +0000)
commit18faa509403c39b4914114cfe2966241b62b2959
treebb5e0bf7ac66a313e62263348449afbe4ad924c6
parent0ce484eed901f73cae89e25d9939a249729f15d3
Georg Lippitsch brought CURLOPT_SEEKFUNCTION and CURLOPT_SEEKDATA to allow
libcurl to seek in a given input stream. This is particularly important when
doing upload resumes when there's already a huge part of the file present
remotely. Before, and still if this callback isn't used, libcurl will read
and through away the entire file up to the point to where the resuming
begins (which of course can be a slow opereration depending on file size,
I/O bandwidth and more). This new function will also be preferred to get
used instead of the CURLOPT_IOCTLFUNCTION for seeking back in a stream when
doing multi-stage HTTP auth with POST/PUT.
CHANGES
RELEASE-NOTES
docs/libcurl/curl_easy_setopt.3
include/curl/curl.h
lib/ftp.c
lib/http.c
lib/transfer.c
lib/url.c
lib/urldata.h
src/main.c