Skip to content

Abort retrying when closing down.#312

Merged
jmigual merged 1 commit intosocketio:masterfrom
pattivacek:abort-retry-loop
Mar 29, 2022
Merged

Abort retrying when closing down.#312
jmigual merged 1 commit intosocketio:masterfrom
pattivacek:abort-retry-loop

Conversation

@pattivacek
Copy link
Contributor

I've ended up in a deadlock when calling sync_close while the network thread is caught in a loop of retrying and failing to connect. This prevents that.

Signed-off-by: Patti Vacek <pattivacek@gmail.com>
@smitpatel88
Copy link

Thanks for sharing, this PR really helped me.

@jmigual
Copy link
Collaborator

jmigual commented Mar 9, 2022

Forcing pipeline to run

@jmigual jmigual closed this Mar 9, 2022
@jmigual jmigual reopened this Mar 9, 2022
@jmigual jmigual merged commit bacd917 into socketio:master Mar 29, 2022
@jmigual
Copy link
Collaborator

jmigual commented Mar 29, 2022

Looks got to me! Thank you for your contribution!

cleancoderob added a commit to solink-archive/socket.io-client-cpp that referenced this pull request Apr 3, 2023
Adding fixes described here to be safe:
socketio#312
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