-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Clarify how to terminate an http response in the javadoc #5737
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
Clarify how to terminate an http response in the javadoc #5737
Conversation
|
CI failure doesn't seem related :-/ |
Yes it is, no need to call
No worries |
tsegismont
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @FroMage ! Would you mind adding the comments for sendFile?
160584e to
487deb7
Compare
|
Sure. |
|
@FroMage can you rebase on latest master, I just fixed a couple of tests failing on Java 25 CI |
487deb7 to
9a7fa75
Compare
|
Done. |
tsegismont
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much @FroMage !
It was not clear to us how to signal an error during response processing in Vert.x. One that occurs after we've sent the headers and some chunks of data. Turns out we have to use
reset()but we did not know about this.Hopefully this is now clearer.
Note that I am not sure if
sendFileis also a terminal operation, or if you should callend()after it?See quarkusio/quarkus#50361 (comment)
CC @geoand @tsegismont