Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Handle socket reconnections asynchronously and gracefully #1290

Merged
merged 1 commit into from
Oct 20, 2017
Merged

Conversation

ottosichert
Copy link
Contributor

@ottosichert ottosichert commented Oct 20, 2017

(Follow-up of #1258, see #1282 (comment))

Synchronously connect()ing after disconnect()ing will not work, this PR handles it correctly and tries three times and will wait 200ms before trying to connect() regardlessly to avoid endless loops.

@teosarca teosarca merged commit 19f3cb3 into master Oct 20, 2017
@teosarca teosarca deleted the dev-1258 branch October 20, 2017 15:13
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.

None yet

2 participants