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

Throw an exception when route does not finish, reroute, or next #5834

Merged
merged 4 commits into from
Jan 12, 2023

Conversation

tomas-langer
Copy link
Member

@tomas-langer tomas-langer commented Jan 11, 2023

Resolves #5779

In Níma, we expect the response to be finished on the request thread (so we do not need to be thread safe).
This is now enforced and when response is neither nexted, rerourted or sent, and internal server error is raised and logged.
I have added a test validating this behavior (that failed on original code)

@tomas-langer tomas-langer added webserver 4.x Version 4.x Níma Helidon Níma labels Jan 11, 2023
@tomas-langer tomas-langer self-assigned this Jan 11, 2023
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 11, 2023
@tomas-langer tomas-langer added this to the 4.0.0-ALPHA3 milestone Jan 12, 2023
@barchetta barchetta merged commit ae42d1a into helidon-io:main Jan 12, 2023
@tomas-langer tomas-langer deleted the 5779-out-of-thread-response branch May 29, 2024 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x Níma Helidon Níma OCA Verified All contributors have signed the Oracle Contributor Agreement. webserver
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants