Skip to content

Upload of large files permanently leaves files in TEMPDIR #2789

@thejan2009

Description

@thejan2009

Problem statement

See this comment golang/go#20253 (comment) and the parent issue.

After handling a request, the temporary files created when parsing multipart form should be removed.

Swagger specification

Steps to reproduce

Upload files larger than 32 MB and see how $TMPDIR/multipart-* files will multiply.

Environment

swagger version: 0.28.0
go version: 1.18.3
OS:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions