2 Replies Latest reply on Jun 2, 2014 10:14 AM by ajcmartins

    How to configure GZIP threshold in undertow?

    ajcmartins Newbie

      Hi, what would be the best way to configure a GZIP threshold based on the content length of a request?

      At https://github.com/undertow-io/undertow/blob/master/core/src/test/java/io/undertow/server/handlers/encoding/GzipContentEncodingTestCase.java a MaxContentSizePredicate is used and is exactly what i need. The problem is that i been unable to use it on the GZIP filter configuration in standalone.xml. :\

       

      Any idea?

       

      Cheers,