Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Nightly Builds
-
None
Description
The fix from VFS-216 doesn't help if the ftp server doesn't reply with any messages at all (could happen if it's behind a badly configured firewall for example). What happens is that the client.connect() called from FtpClientFactory hangs, and this line is before timeout parameter is set.
I suggest the change in the attached patch.
The scenario can be tested with "netcat -l" instead of a real ftp server.
Attachments
Attachments
Issue Links
- is related to
-
VFS-216 FTP configuration does not include option for setting socket timeout
- Resolved