376324 <max-file-size> is not respected in <multipart-config>
This commit is contained in:
parent
ec77ba41ef
commit
62713fda2f
|
@ -591,6 +591,10 @@ public class ServletHolder extends Holder<Servlet> implements UserIdentity.Scope
|
|||
if (!isAsyncSupported())
|
||||
baseRequest.setAsyncSupported(false);
|
||||
|
||||
MultipartConfigElement mpce = ((Registration)getRegistration()).getMultipartConfig();
|
||||
if (mpce != null)
|
||||
request.setAttribute(Request.__MULTIPART_CONFIG_ELEMENT, mpce);
|
||||
|
||||
servlet.service(request,response);
|
||||
servlet_error=false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue