cURL / Mailing Lists / curl-library / Single Mail


Progress function called with data for previous transfer

From: Marcin Adamski <>
Date: Thu, 27 Oct 2011 22:47:44 +0200

I used one easy handle in a multi interface for a few consecutive FTP/TFTP transfers with progress callback enabled. Sometimes it happend that first call of progress function for second transfer provided data (total bytes and downloaded bytes) for the first, already finished transfer. Is this known issue? Is this considered a bug?

It would be not safe, if we used CURLOPT_PROGRESSDATA pointing to an object related to one transfer (destroyed after transfer has finished).

Marcin Adamski

List admin:
Received on 2011-10-27