curl-library
Re: curl_easy_perform file descriptor position
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 1 Jan 2014 21:49:13 +0100 (CET)
Date: Wed, 1 Jan 2014 21:49:13 +0100 (CET)
On Wed, 1 Jan 2014, Rafael wrote:
> Is it necessary reset the file descriptor position to beginning with fseek
> or the curl_easy_perform function do it already?
You provide the file descriptor to libcurl as-is and libcurl will use it like
that. If you want it rewound before the new transfer then you need to do it!
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2014-01-01