Skip to content

Multipart files not deleted after upload is finished with async request #33161

Closed
@ericciutaddt

Description

@ericciutaddt

While trying to upload some Multipart files, they are actually stored as tmp files in disk during the duration of the upload and then the files should be removed automatically from this temporary directory.

The issue is that these files don't ever get deleted, and end up exhausting our free available disk space.

While debugging our code, it seems it never reaches the point where the cleanup is called:

We are using springframework version 6.1.10.

Original question in Stack Overflow: https://stackoverflow.com/questions/78701259/jetty-tmp-multipart-files-not-being-deleted-after-upload

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions