-
1. Re: Connection terminated as request was larger than 10485760
welle Apr 10, 2014 2:23 AM (in response to hans_johansson)Look at the "max-post-size" setting described in: Undertow (web) subsystem configuration - WildFly 8 - Project Documentation Editor
-
2. Re: Connection terminated as request was larger than 10485760
hans_johansson Apr 10, 2014 3:20 AM (in response to welle)Thanks !
I was in a sort of panic I've just found the parameter and it works !
-
3. Re: Connection terminated as request was larger than 10485760
m.fiorentino Mar 14, 2015 6:30 PM (in response to welle)Same error for me but it seems that the max-post-size does not have effects. What can I do? I am in panic
-
4. Re: Connection terminated as request was larger than 10485760
m.fiorentino Mar 15, 2015 1:19 PM (in response to m.fiorentino)Solved by adding this annotated bean:
@Bean
public MultipartConfigElement multipartConfigElement() {
MultipartConfigFactory factory = new MultipartConfigFactory();
factory.setMaxFileSize("100MB");
factory.setMaxRequestSize("100MB");
return factory.createMultipartConfig();
}
-
5. Re: Connection terminated as request was larger than 10485760
ctomc Mar 15, 2015 2:29 PM (in response to m.fiorentino)do you maybe have limit set in web.xml?
-
6. Re: Connection terminated as request was larger than 10485760
ozizka Aug 8, 2017 3:53 AM (in response to welle)For WildFly 10, the documentation is at Undertow subsystem configuration - WildFly 10 - Project Documentation Editor
-
7. Re: Connection terminated as request was larger than 10485760
ozizka Aug 8, 2017 4:22 AM (in response to m.fiorentino)Just a note that this is a Spring Boot solution.