-
Bug
-
Resolution: Done
-
Major
-
None
-
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.