[
https://issues.apache.org/jira/browse/VFS-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bernd Eckenfels resolved VFS-474.
---------------------------------
Resolution: Won't Fix
I think the only location where the connection (pool) should be closed (besides
idle timeout) is when the FS is closed. I agree that the close() method on the
FO has other uses.
We might want to add a feature request to be able to better control this (I am
not sure how it behaves today).
> FTP Connection isn't closed, when FtpFileObject is closed
> ---------------------------------------------------------
>
> Key: VFS-474
> URL: https://issues.apache.org/jira/browse/VFS-474
> Project: Commons VFS
> Issue Type: Bug
> Affects Versions: 2.1
> Reporter: Simon Olofsson
> Labels: PatchAvailable
> Attachments: VFS-474.patch
>
>
> When a FtpFileObject is closed with the close() method, the Connection to the
> FTP Server is still open. The Connection is never closed.
> Attached is a Patch, which closes the FtpFileSystem in
> FtpFileObject#doDetach().
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)