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

[SDK] Fix closing event stream in rest client #449

Merged
merged 4 commits into from
Feb 7, 2025

Conversation

altafan
Copy link
Collaborator

@altafan altafan commented Feb 5, 2025

This makes the rest client of the client SDK properly handle the close of the event stream so that clients don't left connections opened unintentionally.

BONUS: This also makes the server able to force the close of such connections in case of shutdown.

Please @louisinger @bordalix @sekulicd review.

Copy link
Collaborator

@louisinger louisinger left a comment

Choose a reason for hiding this comment

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

cherry-pick b098199 to fix the CI

@altafan altafan merged commit 50c22e7 into ark-network:master Feb 7, 2025
7 checks passed
bordalix pushed a commit that referenced this pull request Feb 7, 2025
* Close all stream connections at shutdown

* Fix

* Make rest client close event stream
@altafan altafan deleted the close-rest-stream branch March 18, 2025 13:26
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