commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31793] New: - [net] handling ftp disconnection initiated by firewalls
Date Wed, 20 Oct 2004 06:04:22 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31793>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31793

[net] handling ftp disconnection initiated by firewalls

           Summary: [net] handling ftp disconnection initiated by firewalls
           Product: Commons
           Version: Nightly Builds
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Net
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: mario@ops.co.at


If a ftp connection has been disconnected by a firewall the "ftp session
timeout" mechanisums wont work.
Instead one might get a "broken pipe" exception.

The following patch will catch such an exception during sending a command to the
ftp server and, if the connection has been closed, it will rethrow it as
FTPConnectionClosedException.

A user of VFS already tested this patch and it looks like it works well.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message