Skip to content

Conversation

@vicancy
Copy link
Member

@vicancy vicancy commented Sep 26, 2025

Fix #2172 (comment) that Shutdown hangs when connection stuck in creating stage.

When application is shutting down, connection container tries to send Fin to every connection for service to stop routing traffic to the service connection, waiting for the FinAck from service with retries. When the connection is never successfully connected, or the connection is already disconnected and before removed from the container, Fin is never sent. There is no need to wait for FinAck in such cases. So we change the logic to check the connection status first, if it is not in connected state, the connection stops itself proactively.

@vicancy vicancy merged commit 758b6fd into Azure:dev Sep 29, 2025
8 of 9 checks passed
@vicancy vicancy deleted the fff3 branch September 29, 2025 03:34
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.

SignalR in TestServer tear down take 30s

2 participants