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

Broken pipe Exception from Jersey layer while closing response in ServerRuntime.writeResponse() not handled or re-thrown #5783 #5786

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

jbescos
Copy link
Member

@jbescos jbescos commented Nov 5, 2024

#5783

That issue happened because Helidon throws UncheckedIOException instead of IOException.

If we catch UncheckedIOExceptions together with IOException in OutboundMessageContext#close , the issue should not happen. However, it would invoke ContainerResponseWriter#commit instead of ContainerResponseWriter#failure.

As there is an error, it should invoke ContainerResponseWriter#failure in my opinion.

…verRuntime.writeResponse() not handled or re-thrown eclipse-ee4j#5783

Signed-off-by: Jorge Bescos Gascon <[email protected]>
@jbescos
Copy link
Member Author

jbescos commented Nov 6, 2024

issue5783.zip
Attaching it for version 3.1 so the customer can test. Rename jars accordingly.

Signed-off-by: Jorge Bescos Gascon <[email protected]>
Copy link
Contributor

@senivam senivam left a comment

Choose a reason for hiding this comment

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

LGTM

@jbescos jbescos merged commit 39800bc into eclipse-ee4j:2.x Nov 12, 2024
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