Describe the bug
An error occurs in a Quarkus with a secured post-multipart interface. If a larger file (about 150MB) is uploaded, the system is stuck in an endless loop without ever reaching the first line in the 'uploadFile' method. If security is switched off or a small file is uploaded, the error does not occur.
The security dependecy is io.quarkus:quarkus-elytron-security-properties-file.
The following properties are set in application.properties:
quarkus.http.auth.basic=true
quarkus.security.users.file.enabled=true
quarkus.security.users.file.users=users.properties
quarkus.security.users.file.roles=roles.properties
quarkus.security.users.file.plain-text=true
quarkus.http.limits.max-form-attribute-size=2000M
quarkus.http.limits.max-body-size=2000M
Expected behavior
The file should be uploaded and a string with the file name should be returned.
Actual behavior
If a larger file (about 150MB) is uploaded, the system is stuck in an endless loop without ever reaching the first line in the uploadFile method. If security is switched off or a small file is uploaded, the error does not occur.
How to Reproduce?
multipart-example.zip
To reproduce, a file with the name bigFile.zip must be placed in the src/main/resources/ folder. The file is too large to upload to GitHub.
Output of uname -a or ver
No response
Output of java -version
Temurin-21.0.5
Quarkus version or git rev
3.16.3
Build tool (ie. output of mvnw --version or gradlew --version)
apache-maven-3.9.9
Additional information
No response
Describe the bug
An error occurs in a Quarkus with a secured post-multipart interface. If a larger file (about 150MB) is uploaded, the system is stuck in an endless loop without ever reaching the first line in the 'uploadFile' method. If security is switched off or a small file is uploaded, the error does not occur.
The security dependecy is
io.quarkus:quarkus-elytron-security-properties-file.The following properties are set in application.properties:
Expected behavior
The file should be uploaded and a string with the file name should be returned.
Actual behavior
If a larger file (about 150MB) is uploaded, the system is stuck in an endless loop without ever reaching the first line in the
uploadFilemethod. If security is switched off or a small file is uploaded, the error does not occur.How to Reproduce?
multipart-example.zip
To reproduce, a file with the name
bigFile.zipmust be placed in thesrc/main/resources/folder. The file is too large to upload to GitHub.Output of
uname -aorverNo response
Output of
java -versionTemurin-21.0.5
Quarkus version or git rev
3.16.3
Build tool (ie. output of
mvnw --versionorgradlew --version)apache-maven-3.9.9
Additional information
No response