Skip to content

Commit b5f4a69

Browse files
committed
[UNDERTOW-2022] At MultipartParser.MultipartUploadHandler.close, clear the references to temp file handles
Signed-off-by: Flavia Rainone <[email protected]>
1 parent 5589b9b commit b5f4a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/io/undertow/server/handlers/form/MultiPartParserDefinition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,6 @@ public void endPart() {
372372
}
373373
}
374374

375-
376375
public List<Path> getCreatedFiles() {
377376
return createdFiles;
378377
}
@@ -395,6 +394,7 @@ public void run() {
395394
}
396395
}
397396
}
397+
files.clear();
398398
}
399399
});
400400

0 commit comments

Comments
 (0)