maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (WAGON-104) File handle leak in the WebDavWagon.put method
Date Wed, 14 May 2008 08:36:29 GMT

     [ http://jira.codehaus.org/browse/WAGON-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brett Porter updated WAGON-104:
-------------------------------

    Fix Version/s: 1.0-beta-3

> File handle leak in the WebDavWagon.put method
> ----------------------------------------------
>
>                 Key: WAGON-104
>                 URL: http://jira.codehaus.org/browse/WAGON-104
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-webdav
>    Affects Versions: 1.0-beta-2
>            Reporter: Kohsuke Kawaguchi
>             Fix For: 1.0-beta-3
>
>
> PutInputStream created at line 286 is never closed. (commons-httpclient doesn't  close
it, either, at least as of 3.1)
> A finally block is needed here to properly dispose the InputStream. This affects the
long-running process like Hudson, and eventually cause the file descriptor shortage.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message