Hello,

When I do this:

FileItemFactory factory = new DiskFileItemFactory();
> ServletFileUpload upload = new ServletFileUpload(factory);
> upload.setSizeMax(100 * 1024 * 1024); // 100 MB


FileUpload will accept the entire request before finally throwing the
exception if the sum of the sizes of all files exceeds the set limit.

Is there any way for it to preemptively stop the request?

Thanks

- Alexandre

Reply via email to