Add option to cleanup multipart temp files #27613
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
In non-streaming mode, upload of file larger than
DefaultPartHttpMessageReader#maxInMemorySize
results in storing uploaded file to a temporrary file. These temporary files are never deleted, if there is no system job/script which is cleaning this temp folder.We are running our applications on docker images, where the only running process is java and therefore we are running out of space.
Please consider adding option to cleanup (directly or indirectly) uploaded multipart files. Similar option is available in Spring MVC (
MultipartResolver#cleanupMultipart
).The text was updated successfully, but these errors were encountered: