7 Replies Latest reply on Aug 8, 2017 4:22 AM by ozizka

    Connection terminated as request was larger than 10485760

    hans_johansson

      Hi!

       

      I'm using Wilfly 8 and I have a problem when uploading files larger tham 10485760 bytes..

      Where can I increase this limit ?

       

       

       

      Stacktrace:

      Caused by: java.io.IOException: UT000020: Connection terminated as request was larger than 10485760

        at io.undertow.conduits.FixedLengthStreamSourceConduit.checkMaxSize(FixedLengthStreamSourceConduit.java:166)

        at io.undertow.conduits.FixedLengthStreamSourceConduit.read(FixedLengthStreamSourceConduit.java:224)

        at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)

        at io.undertow.channels.DetachableStreamSourceChannel.read(DetachableStreamSourceChannel.java:181)

        at io.undertow.server.HttpServerExchange$ReadDispatchChannel.read(HttpServerExchange.java:1897)

        at io.undertow.server.handlers.form.MultiPartParserDefinition$MultiPartUploadHandler.parseBlocking(MultiPartParserDefinition.java:191)

        at io.undertow.servlet.spec.HttpServletRequestImpl.parseFormData(HttpServletRequestImpl.java:726)