curl-library
Re: [ curl-Bugs-1600447 ] Active FTP upload/download withmultiinterface.
Date: Fri, 24 Nov 2006 08:36:35 +0100 (CET)
On Thu, 23 Nov 2006, Alexey Simak wrote:
>> So how do these servers differ from the ftp test server in the test suite,
>> anyone figured that out?
>
> As far as I understood from <ftpserver.pl> you test ftp server connects to
> the client immediately after PORT command is received. But real ftp servers
> (at least some of them I tried with) connect to the client after RETR or
> STOR command.
Yes. But in order to fix this issue properly, we should rather add an option
to the test ftp server to behave like the ones you mention so that we can test
against that kind of server as well. Then all of us can work on the issues in
our own ends using the regular test suite.
What I fail to grasp is why you experience this problem now, libcurl has
_always_ worked with this assumption and it does it no matter if easy or multi
interface is used (as can be seen in ftp_state_stor_resp() which calls
AllowServerConnect() to allow the server to connect back, no matter if easy or
multi is used. And AllowServerConnect() is a blocking call).
I'm not really able to grab this issue and give it a lot of attention at the
moment, since I'm quite busy with paid work these days.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-11-24