Skip to content

fix:Connector fails to register with Service Discovery when using WSS (WebSocket Secure)#490

Open
wubie052 wants to merge 1 commit into
topfreegames:v2from
wubie052:patch-4
Open

fix:Connector fails to register with Service Discovery when using WSS (WebSocket Secure)#490
wubie052 wants to merge 1 commit into
topfreegames:v2from
wubie052:patch-4

Conversation

@wubie052

@wubie052 wubie052 commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

Connector fails to register with Service Discovery when using WSS (WebSocket Secure) #488

fix:#488


Note

Low Risk
Small state-management fix confined to the WSS/TLS listen path; low risk aside from slightly changing lifecycle signaling for TLS deployments.

Overview
Fixes a lifecycle/state bug in WSAcceptor when running over WSS/TLS by setting w.running = true after the TLS listener is created (matching the non-TLS path).

This ensures components that rely on the acceptor "running" state (e.g., registration/health checks) see the correct status when using ListenAndServeTLS.

Reviewed by Cursor Bugbot for commit 3eccbfd. Bugbot is set up for automated code reviews on this repo. Configure here.

@wubie052

Copy link
Copy Markdown
Contributor Author

@rsafonseca Please take a look at this PR.

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.

1 participant