|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[ curl-Bugs-3429299 ] Active FTP hangs if server does not open data connection
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 20 Dec 2011 15:11:27 -0800
Bugs item #3429299, was opened at 2011-10-27 05:24
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
An active FTP connection is setup with multi interface. Sometimes it is just not possible for FTP server to connect to the port given by the client with PORT or EPRT command. Server could send 425 Can't open data connection or be just dead in the middle of transaction.
Killing the executable (and having a coredump) shows that AllowServerConnect function just looks for notifications in the data connection however control connection should also be observed to get errors like the ones described above.
Server log:
(192.168.0.90)> STOR cmd_input.txt
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
To try it out, you either checkout/update your git clone:
or you try tomorrow's daily snapshot: http://curl.haxx.se/snapshots/
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
----------------------------------------------------------------------
Comment By: Gokhan Sengun (gseng)
Message:
I guess Linux FTP server gets the last ACK from libcurl and immediately set
I again guess that my Filezilla FTP server running on Windows is not clever
Regardless of the rootcause of the problem, I believe libcurl should no
Thanks for your attention on this Daniel!
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
----------------------------------------------------------------------
Comment By: Gokhan Sengun (gseng)
Message:
Test case could be easily written. When an active FTP connection is made,
So repeating triggering two active FTP downloads/uploads, the second
Attaching the test code.
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
Have you looked into producing a test case that repeats this case?
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info