Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-7392

Introduce default upload limit and property for management interfaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 31.0.0.Final
    • None
    • Undertow
    • None

      By default, Undertow imposes a default file size limit when using html form data. The WildFly Core management server is based on Undertow, but the new limit imposed there is too small to allow the upload of deployment files using the server's web API.

      We need to increase this value, and the decision was to limit it by default to 1Gb. This default value should be able to be configured using the following system property, being XYZ in bytes:

      -Dorg.wildfly.management.upload.limit=XYZ

      In a future version, we have to deprecate the use of the system property in favor of a management model resource configuration.

      Notice that this configuration and default limit only affect the deployment of files using the HTTP management endpoint (https://docs.wildfly.org/38/Admin_Guide.html#http-management-endpoint). The Web Console and the JBoss CLI are not affected by this limit since they use the JBoss Remoting protocol to communicate with the server.

              rhn-cservice-bbaranow Bartosz Baranowski
              rhn-cservice-bbaranow Bartosz Baranowski
              Alessio Soldano, Brad Maxwell, Brian Stansberry, Flavia Rainone, Ilia Vassilev, Ingo Weiss, Jeff Mesnil, Michaela Osmerova, Radovan Stancel, Tomas Hofman, Tom Jenkinson, Vladimir Dosoudil, Yeray Borges Santana
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: