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

Abort retrying when closing down. #312

Merged
merged 1 commit into from
Mar 29, 2022
Merged

Abort retrying when closing down. #312

merged 1 commit into from
Mar 29, 2022

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 SolinkCorp/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