cURL / Mailing Lists / curl-library / Single Mail


RE: FTP third party transfer (proxy) support.

From: Alexander Krasnostavsky <>
Date: Tue, 1 Jun 2004 14:11:30 +0300

> You're hitting exactly the problem I mentioned when I noticed that
> you the data struct and assume that things will work fine from there
> Since the code doesn't know if it works on a clone or on the original
> struct, it can't work correctly and will end up free()ing pointers
> and similar.

> I can't see how you can easily work around this problem when you clone
> the data struct.

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 information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.
Received on 2004-06-01