Skip to content
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

Fix dev-mode CL issue with multipart form handling #16795

Merged
merged 1 commit into from
Apr 26, 2021

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Apr 26, 2021

Fixes: #16794

@quarkus-bot
Copy link

quarkus-bot bot commented Apr 26, 2021

Failing Jobs - Building 3dda470

Status Name Step Test failures Logs Raw logs
Native Tests - Security2 Build ⚠️ Check → Logs Raw logs

@@ -191,10 +197,15 @@ public void handle(Void v) {
MultipartFormVertxHandler.this.deleteFileUploads();
}
});
restoreProperTCCL();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All these calls look very hackyish to me. And I'm also worried about how things could go with user-developed handlers. Isn't there a more generic way to fix this?

Copy link
Contributor Author

@geoand geoand Apr 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, if there were, we would have solved it.

It's essentially the same hack we do in the vertx-http recorder

@geoand geoand merged commit 88fea83 into quarkusio:main Apr 26, 2021
@quarkus-bot quarkus-bot bot added this to the 2.0 - main milestone Apr 26, 2021
@geoand geoand deleted the #16794 branch April 26, 2021 14:43
@gsmet gsmet modified the milestones: 2.0 - main, 1.13.3.Final Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ClasscastException when using MultipartForm in dev mode
3 participants