-
Bug
-
Resolution: Done
-
Major
-
1.1.8.Final, 1.2.12.Final
-
None
There appears to be a race condition when deleting a multipart Part. If a servlet deletes a Part after flushing the response then the delete may throw an IOException or the work dispatched by MultiPartParserDefinition.close may log an error when it attempts to delete the file. The error is:
Sep 16, 2015 9:19:15 AM io.undertow.server.handlers.form.MultiPartParserDefinition$MultiPartUploadHandler$1 run ERROR: UT005005: Cannot remove uploaded file /var/folders/zq/v6xkr2696kv05jbf3bddt9680000gn/T/undertow5316399978274106320upload