curl-library
RE: FTP third party transfer (proxy) support.
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 1 Jun 2004 13:14:18 +0200 (CEST)
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
same.
So, it may be the same struct as a previous transfer used, and it can be a
brand new.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-06-01