renoth commented on code in PR #429:
URL: 
https://github.com/apache/commons-fileupload/pull/429#discussion_r2449569836


##########
commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/FileItemInputIteratorImpl.java:
##########
@@ -286,7 +286,12 @@ protected void init(final AbstractFileUpload<?, ?, ?> 
fileUploadBase, final Requ
 
         progressNotifier = new 
MultipartInput.ProgressNotifier(fileUploadBase.getProgressListener(), 
requestSize);
         try {
-            multiPartInput = 
MultipartInput.builder().setInputStream(inputStream).setBoundary(multiPartBoundary).setProgressNotifier(progressNotifier).get();
+            multiPartInput = MultipartInput.builder()
+                .setInputStream(inputStream)
+                .setBoundary(multiPartBoundary)
+                .setProgressNotifier(progressNotifier)
+                .setPartHeaderSizeMax(fileUploadBase.getPartHeaderSizeMax())

Review Comment:
   After looking further, i think a M5 Release is needed for Wicket or others 
to fix thie issue with the unvonfigurable default value being too low for some 
applications.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to