2 Replies Latest reply on Apr 28, 2017 9:25 AM by Helen Chen

    question about undertow max-post-size

    Helen Chen Novice

      Hi,

       

      We are using Wildfly 10.0.0.Final on Solaris 10 with java 8.

       

      we need to upload large file size, it seems that setting "max-post-size" helps solving the problem.  the book "Wildfly Configuration, Deployment, and Administration" says setting max-post-size=0 can set the maximum allowed incoming post request size to be unlimited.

       

      Is there any side effect by setting max-post-size to be big number or unlimited?

       

      <subsystem xmlns="urn:jboss:domain:undertow:3.0"> 

                  <buffer-cache name="default"/> 

                 <server name="default-server"> 

                      <http-listener name="default" max-post-size="25485760" redirect-socket="https" socket-binding="http"/>

       

      Thanks, Helen