Skip to content

Conversation

@FroMage
Copy link
Contributor

@FroMage FroMage commented Oct 2, 2025

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 sendFile is also a terminal operation, or if you should call end() after it?

See quarkusio/quarkus#50361 (comment)

CC @geoand @tsegismont

@FroMage
Copy link
Contributor Author

FroMage commented Oct 2, 2025

CI failure doesn't seem related :-/

@tsegismont
Copy link
Contributor

Note that I am not sure if sendFile is also a terminal operation, or if you should call end() after it?

Yes it is, no need to call end() after it.

CI failure doesn't seem related :-/

No worries

Copy link
Contributor

@tsegismont tsegismont left a 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?

@FroMage FroMage force-pushed the response-terminal-action branch from 160584e to 487deb7 Compare October 2, 2025 15:03
@FroMage
Copy link
Contributor Author

FroMage commented Oct 2, 2025

Sure.

@vietj
Copy link
Member

vietj commented Oct 2, 2025

@FroMage can you rebase on latest master, I just fixed a couple of tests failing on Java 25 CI

@FroMage FroMage force-pushed the response-terminal-action branch from 487deb7 to 9a7fa75 Compare October 3, 2025 08:23
@FroMage
Copy link
Contributor Author

FroMage commented Oct 3, 2025

Done.

Copy link
Contributor

@tsegismont tsegismont left a 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 !

@tsegismont tsegismont merged commit 2931460 into eclipse-vertx:master Oct 3, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants