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

#CHT-151. Handle ECONN_REFUSED upon connection to chatd / presenced #936

Merged
merged 13 commits into from
Aug 28, 2020

Conversation

jgandres
Copy link
Contributor

No description provided.

sergiohs84 and others added 12 commits June 19, 2020 12:30
#16247. Chat room title nullability (Obj-C)
Upon wsConnect fails we need to re-fetch a fresh URL, because we can't
detect if connection has been refused by server or we don't have
connectivity.

If host of fresh URL does not match with the host that we have stored
in cache, we need to abort the retry controller if any, update DNS
cache and retry a new connection attempt.
Upon wsConnect fails we need to re-fetch a fresh URL, because we can't
detect if connection has been refused by server or we don't have
connectivity.

If host of fresh URL does not match with the host that we have stored
in cache, we need to abort the retry controller if any, update DNS
cache and retry a new connection attempt.
The code in `wsCloseCb()` is already executed by the subsequent call to
`retryPendingConnections(true)`.
The code in `retryPendingConnection()` is already executed by
`setState(kDisconnected)`
Do not create temporary object and ensure it's an update (not an
addition).
@JenkinsMega
Copy link

karere-crossandroid-PRs SUCCEDED (46) 👍

@jgandres jgandres merged commit db5f1f3 into develop Aug 28, 2020
@jgandres jgandres deleted the fix/econnrefused-error-management branch August 28, 2020 09:47
@JenkinsMega
Copy link

karere-crossandroid-PRs SUCCEDED (49) 👍

@JenkinsMega
Copy link

karere-native-linux-PRs SUCCEDED (1554) 👍

@JenkinsMega
Copy link

karere-native-linux-PRs SUCCEDED (1557) 👍

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