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

Attempt to fix infinite await in Jersey output writer. #9460

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

tomas-langer
Copy link
Member

The count down latch is now counted down in close method of the output stream, which should cover all the possible cases (unless close is not called, which would cause other major issues as well, so the case is not handled).

Resolves #9442

The count down latch is now counted down in close method of the output stream, which should cover all the possible cases (unless close is not called, which would cause other major issues as well, so the case is not handled).

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
@tomas-langer tomas-langer added bug Something isn't working 4.x Version 4.x jersey labels Nov 4, 2024
@tomas-langer tomas-langer requested a review from spericas November 4, 2024 09:46
@tomas-langer tomas-langer self-assigned this Nov 4, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 4, 2024
@tomas-langer tomas-langer requested a review from jbescos November 4, 2024 10:01
@tomas-langer tomas-langer merged commit 4548da0 into helidon-io:main Nov 4, 2024
46 checks passed
@tomas-langer tomas-langer deleted the 9442-jersey-cdl branch November 4, 2024 17:34
@barchetta barchetta mentioned this pull request Nov 4, 2024
9 tasks
barchetta pushed a commit to barchetta/helidon that referenced this pull request Nov 4, 2024
The count down latch is now counted down in close method of the output stream, which should cover all the possible cases (unless close is not called, which would cause other major issues as well, so the case is not handled).

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
barchetta added a commit that referenced this pull request Nov 4, 2024
The count down latch is now counted down in close method of the output stream, which should cover all the possible cases (unless close is not called, which would cause other major issues as well, so the case is not handled).

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Co-authored-by: Tomas Langer <tomas.langer@oracle.com>
arjav-desai pushed a commit to arjav-desai/helidon that referenced this pull request Dec 11, 2024
The count down latch is now counted down in close method of the output stream, which should cover all the possible cases (unless close is not called, which would cause other major issues as well, so the case is not handled).

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x bug Something isn't working jersey OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
2 participants