Skip to content

Commit c22ffe0

Browse files
committed
[hotfix] use DiskFileItemFactor default threshhold
Setting the SizeThreshhold to a low value can lead to Unexpected EOF errors when decoding multipart messages.
1 parent 72414e9 commit c22ffe0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

exist-core/src/main/java/org/exist/http/servlets/HttpRequestWrapper.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,6 @@ private void parseMultipartContent() {
186186
// Create a factory for disk-based file items
187187
final DiskFileItemFactory factory = new DiskFileItemFactory();
188188

189-
// Dizzzz: Wonder why this should be zero
190-
factory.setSizeThreshold(0);
191-
192189
// Create a new file upload handler
193190
final ServletFileUpload upload = new ServletFileUpload(factory);
194191

0 commit comments

Comments
 (0)