cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: FTP third party transfer (proxy) support.

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 3 Jun 2004 13:43:00 +0200 (CEST)

On Wed, 2 Jun 2004, Alexander Krasnostavsky wrote:

> Please send me the changed code and I will check it.

I just committed it to CVS. Please try it out and verify that I didn't break
anything. We really should improve the FTP test server to support 3rd party
support so that we can add a bunch of test cases for this.

> But in general I am not against adding a new argument. What additional data
> you want to pass? May be it is better to pass a (pointer to) structure
> (instead of many parameters) that will include all the information? So it
> can grow in a future.

Possibly, but then we'd need to alloc/declare and fill in the struct all over
instead. I don't see any major benefit in doing that.

Also, when I mentioned that we possibly need a new argument I was thinking
about the callback function.

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-06-03