title: could not get to increase the max post size in wildfly 12 above 250 MB
body: <pre><code>14:55:23,465 ERROR [stderr] (default task-1) io.undertow.server.RequestTooBigException: UT000020: Connection terminated as request was larger than 209715200
  14:55:23,465 ERROR [stderr] (default task-1)    at io.undertow.conduits.FixedLengthStreamSourceConduit.checkMaxSize(FixedLengthStreamSourceConduit.java:168)
  14:55:23,465 ERROR [stderr] (default task-1)    at io.undertow.conduits.FixedLengthStreamSourceConduit.read(FixedLengthStreamSourceConduit.java:229)
  14:55:23,465 ERROR [stderr] (default task-1)    at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
  14:55:23,465 ERROR [stderr] (default task-1)    at io.undertow.channels.DetachableStreamSourceChannel.read(DetachableStreamSourceChannel.java:209)
  14:55:23,466 ERROR [stderr] (default task-1)    at io.undertow.server.HttpServerExchange$ReadDispatchChannel.read(HttpServerExchange.java:2337)
  14:55:23,466 ERROR [stderr] (default task-1)    at org.xnio.channels.Channels.readBlocking(Channels.java:294)
  14:55:23,466 ERROR [stderr] (default task-1)    at io.undertow.servlet.spec.ServletInputStreamImpl.readIntoBuffer(ServletInputStreamImpl.java:192)
  14:55:23,466 ERROR [stderr] (default task-1)    at io.undertow.servlet.spec.ServletInputStreamImpl.read(ServletInputStreamImpl.java:168)
  14:55:23,466 ERROR [stderr] (default task-1)    at org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStream.java:1027)
  14:55:23,466 ERROR [stderr] (default task-1)    at org.apache.commons.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:931)
  14:55:23,466 ERROR [stderr] (default task-1)    at java.io.InputStream.read(InputStream.java:101)
  14:55:23,466 ERROR [stderr] (default task-1)    at org.apache.commons.fileupload.util.Streams.copy(Streams.java:98)
  14:55:23,467 ERROR [stderr] (default task-1)    at org.apache.commons.fileupload.util.Streams.copy(Streams.java:68)
  </code></pre>
  <p>Here is the appropriate configuration in standalone.xml
  Where max-post-size is set to &quot;1073741824&quot; bytes (wanted 1GB)
  <strong>Is there an underlying limit of 200MB?</strong>
  With the whole file search for this 209715200, inside wildfly server folder, i did not find any.</p>
  <pre><code>&lt;subsystem xmlns=&quot;urn:jboss:domain:undertow:5.0&quot;&gt;
              &lt;buffer-cache name=&quot;default&quot;/&gt;
              &lt;server name=&quot;default-server&quot;&gt;
                  &lt;http-listener name=&quot;default&quot; socket-binding=&quot;http&quot; max-post-size=&quot;1073741824&quot; redirect-socket=&quot;https&quot; enable-http2=&quot;true&quot; no-request-timeout=&quot;600000&quot; /&gt;
                  &lt;https-listener name=&quot;https&quot; socket-binding=&quot;https&quot; security-realm=&quot;ApplicationRealm&quot; enable-http2=&quot;true&quot;/&gt;
                  &lt;host name=&quot;default-host&quot; alias=&quot;localhost&quot;&gt;
                      &lt;location name=&quot;/&quot; handler=&quot;welcome-content&quot;/&gt;
                      &lt;filter-ref name=&quot;server-header&quot;/&gt;
                      &lt;filter-ref name=&quot;x-powered-by-header&quot;/&gt;
                      &lt;http-invoker security-realm=&quot;ApplicationRealm&quot;/&gt;
                  &lt;/host&gt;
              &lt;/server&gt;
              &lt;servlet-container name=&quot;default&quot;&gt;
                  &lt;jsp-config/&gt;
                  &lt;websockets/&gt;
              &lt;/servlet-container&gt;
              &lt;handlers&gt;
                  &lt;file name=&quot;welcome-content&quot; path=&quot;${jboss.home.dir}/welcome-content&quot;/&gt;
              &lt;/handlers&gt;
              &lt;filters&gt;
                  &lt;response-header name=&quot;server-header&quot; header-name=&quot;Server&quot; header-value=&quot;WildFly/11&quot;/&gt;
                  &lt;response-header name=&quot;x-powered-by-header&quot; header-name=&quot;X-Powered-By&quot; header-value=&quot;Undertow/1&quot;/&gt;
              &lt;/filters&gt;
          &lt;/subsystem&gt;
  </code></pre>