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

Update Glacier2 SessionControl::destroy impl to close the connection #2621

Merged

Conversation

bernardnormier
Copy link
Member

We want SessionControl::destroy to close the client->router connection, to allow the client to get notified as soon as the session is destroyed.

The client can then cleanup / establish a new session.

@@ -52,14 +59,9 @@ SessionControlClient::run(int argc, char** argv)
{
test(false);
}
try
{
session->ice_ping();
Copy link
Member Author

Choose a reason for hiding this comment

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

In this version of the test, it's the ping to an unknown session via Glacier2 that makes the router close the connection forcefully.

@bernardnormier bernardnormier merged commit 42018c1 into zeroc-ice:main Aug 9, 2024
18 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.

4 participants