Uploaded image for project: 'GeoServer'
  1. GEOS-8606

WPS RawDataEncoderDelegate should close the stream after the copy

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.12.3, 2.13-RC1
    • Component/s: WPS
    • Labels:
      None

      Description

      While running some WPS Download tests on Windows I have noticed a couple of tests requiring several minutes to be completed.
      The reason was the resourceManager unable to lock/delete the temp files, finally giving up after thousands of attempts (therefore a couple of minutes).
      Looks like the RawDataEncoderDelegate gets an inputStream to be copied over an outputStream wihtout closing it.

        Attachments

          Activity

            People

            • Assignee:
              dany111 Daniele Romagnoli
              Reporter:
              dany111 Daniele Romagnoli
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: