cURL / Mailing Lists / curl-library / Single Mail


RE: FTP third party transfer (proxy) support.

From: Daniel Stenberg <>
Date: Tue, 1 Jun 2004 13:14:18 +0200 (CEST)

On Tue, 1 Jun 2004, Alexander Krasnostavsky wrote:

> Actually I did solve the problem of freeing pointers. But I agree with you,
> and I have another question: as far as I understood from the last emails,
> the same 'data' struct used for all connections, is it true? Because I
> thought that each connection has different 'data'. If so, this is the reason
> I cloned the 'data' struct.

The 'data' struct is the curl handle the application passes in to curl
functions. If the user re-uses the same handle, the 'data' pointer is the

So, it may be the same struct as a previous transfer used, and it can be a
brand new.

     Daniel Stenberg -- --
      Dedicated custom curl help for hire:
Received on 2004-06-01