Stzx commented on a change in pull request #22: Adding capability to take max
upload size per request.Fileupload 1 3 1
URL: https://github.com/apache/commons-fileupload/pull/22#discussion_r326707673
##########
File path: src/main/java/org/apache/commons/fileupload/FileUploadBase.java
##########
@@ -205,6 +205,18 @@ public static boolean
isMultipartContent(HttpServletRequest req) {
public long getSizeMax() {
return sizeMax;
}
+
+ /**
+ * This method enables subclassed to set
+ allowed size per request if needed.
+ * @param ctx
+ * @return
+ */
Review comment:
What is the role of the `ctx` parameter?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services