-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RESTEasy Reactive multipart form file upload hangs when using Reactive Routes failure handler #19154
Comments
/cc @FroMage, @geoand, @stuartwdouglas |
I will have a quick look, but I have the following question: Is there a specific reason you are trying to handle failures with |
No, there is not. Ok if using them both simultaneously considered as bad practice. |
For posterity, the reason the @cescoffier @stuartwdouglas this raises the question about whether or not we should disallow the use of Rective Routes with RESTEasy Reactive, since more problems like this could surface in the future. |
We should be able to handle the BodyHandler case, as there are other extensions that install it as well. |
Is there a way to remove the existing body handler? |
Describe the bug
When RESTEasy Reactive service should process multipart form file uploads from clients, if service contains failure handler -- @route(type = Route.HandlerType.FAILURE) -- file upload causes hanging.
This occurs only with Quarkus 2.1.0.Final and only with the presence of that failure handler.
Without Reactive Routes failure handler file uploads work OK.
The same project created with Quarkus 2.0.3.Final works OK.
Expected behavior
Successful file upload
Actual behavior
When the curl command tries to upload file, upload process hangs.
How to Reproduce?
Simple reproducer
Steps to reproduce the behavior:
Output of
uname -a
orver
macOS 10.15.7; Darwin Kernel Version 19.6.0: Tue Jun 22 19:49:55 PDT 2021; root:xnu-6153.141.35~1/RELEASE_X86_64 x86_64
Output of
java -version
OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.1.0.Final; 2.0.3.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Additional information
No response
The text was updated successfully, but these errors were encountered: