commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Goers (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (VFS-289) FTP connection is not released If exception is thrown out of FtpFileObject.doGetOutputStream()
Date Tue, 03 Nov 2009 18:59:32 GMT

     [ https://issues.apache.org/jira/browse/VFS-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ralph Goers resolved VFS-289.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.0

> 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
>             Fix For: 2.0
>
>         Attachments: VFS-289.patch
>
>
> 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