Skip to content

Property quarkus.http.limits.max-form-attribute-size behaviour #42987

Open

Description

Describe the bug

I'm defining a endpoint to receive a file as multipart, receiving as parameter @RestForm("file") FileUpload file

However, when trying to upload a file, the api returns 413 Payload Too Large

So I went to quarkus documentation and found a parameter to increase the max form attribute and set it in application.properties

quarkus.http.limits.max-form-attribute-size=50M

However it still does not allow me to upload bigger files

I can use the parameter quarkus.http.limits.max-body-size however this set the size for the whole body and I only want to set the size for each attribute

Expected behavior

quarkus.http.limits.max-form-attribute-size should work according to the documentation

Actual behavior

the parameter seems to be ignored

Output of java -version

21

Quarkus version or git rev

3.14.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      Out of scope

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions