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

SSH transport hangs on large transfers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-alpha-7
    • wagon-ssh
    • None

    Description

      (1.0-alpha-6 needs to be released and a7 added as a new version)

      executeCommand( "cd " + path + "; unzip -o " + zipFile.getName() + "; rm -f " + zipFile.getName() );

      This code hangs when the zip is large. The problem is that the process's outputstream is not read so eventually it fills its buffer and the process hangs. My fix? Add "-q" to unzip's arguments so that it does not spew tons of output.

      Attachments

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              mperham Mike Perham
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: