You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (Created) (JIRA)" <ji...@apache.org> on 2012/01/25 13:24:40 UTC

[jira] [Created] (WICKET-4359) Package resources leak file handles

Package resources leak file handles
-----------------------------------

                 Key: WICKET-4359
                 URL: https://issues.apache.org/jira/browse/WICKET-4359
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5.4
            Reporter: Martin Grigorov
            Assignee: Martin Grigorov


It seems 1.5.4 introduced a new file handle leak with PackageResource.
lsof shows that there are opened input streams after using such resource.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (WICKET-4359) Package resources leak file handles

Posted by "Martin Grigorov (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4359.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.0.0
                   1.5.5

Reverted partially the improvement in Connections.close(Connection) to call connection.getInputStream().close() only for FileUrlConnection. 
Still don't close for remote connections (like HttpUrlConnection).
                
> Package resources leak file handles
> -----------------------------------
>
>                 Key: WICKET-4359
>                 URL: https://issues.apache.org/jira/browse/WICKET-4359
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.4
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>             Fix For: 1.5.5, 6.0.0
>
>
> It seems 1.5.4 introduced a new file handle leak with PackageResource.
> lsof shows that there are opened input streams after using such resource.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira