Skip to content
This repository has been archived by the owner on Jan 21, 2025. It is now read-only.

move AsyncWebSocket's WS_EVT_CONNECT callback out of AsyncWebSocketClient's constructor #179

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

mathieucarbou
Copy link
Owner

Replaces #177

vortigont and others added 2 commits December 19, 2024 13:12
…ient's constructor

 - this is wrong place to call user code from an object constructor
 - it is wrong to call AsyncWebSocket's method from other's objects constructor
 - the callback is executed when new object is not yet linked to server's clients list

Closes #176
@mathieucarbou mathieucarbou changed the title reset wrong SSL connections instead of close move AsyncWebSocket's WS_EVT_CONNECT callback out of AsyncWebSocketClient's constructor Dec 19, 2024
@mathieucarbou mathieucarbou linked an issue Dec 19, 2024 that may be closed by this pull request
@mathieucarbou mathieucarbou merged commit 7f0154c into main Dec 19, 2024
44 checks passed
@mathieucarbou mathieucarbou deleted the ws_onconnect branch December 19, 2024 08:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Websocket com not correctly working
2 participants