Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1080

DataSourceProvider does not delete the temporary files it creates

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.7.Final
    • Fix Version/s: 3.0.9.Final
    • Component/s: None
    • Labels:
      None

      Description

      The DataSourceProvider (org.jboss.resteasy.plugins.providers.DataSourceProvider.readDataSource(InputStream, MediaType)) creates a temporary file named "resteasy-provider-datasource ... .tmp" when reading more then 4096 bytes. However, it does not delete the created temporary file itself nor does it provide a facility to do so. This results in a resource leak!

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  klape Kyle Lape
                  Reporter:
                  mcentner Martin Bonato
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: