File handle leak in the WebDavWagon.put method
----------------------------------------------
Key: WAGON-104
URL: http://jira.codehaus.org/browse/WAGON-104
Project: wagon
Issue Type: Bug
Components: wagon-webdav
Affects Versions: 1.0-beta-2
Reporter: Kohsuke Kawaguchi
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