commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kirill Safonov (JIRA)" <j...@apache.org>
Subject [jira] Created: (VFS-289) FTP connection is not released If exception is thrown out of FtpFileObject.doGetOutputStream()
Date Mon, 26 Oct 2009 16:44:59 GMT
FTP connection is not released If exception is thrown out of FtpFileObject.doGetOutputStream()
----------------------------------------------------------------------------------------------

                 Key: VFS-289
                 URL: https://issues.apache.org/jira/browse/VFS-289
             Project: Commons VFS
          Issue Type: Bug
    Affects Versions: Nightly Builds
            Reporter: Kirill Safonov
            Priority: Critical


When the exception is thrown while getting file output stream (i.e. due to lack of write permissions),
instance of FtpClient that wat obtained by {code}ftpFs.getClient(){code} is not put back to
ftpFs, so this instance will never be called disconnect(). This effectively leads to the connection
never released. 

This will eventually result in "FTP response 421 received. Server closed connection." due
to too many open connections.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message