Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-104

File handle leak in the WebDavWagon.put method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-2
    • 1.0-beta-3
    • wagon-webdav
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              brett Brett Porter
              kohsuke Kohsuke Kawaguchi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: