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

Commits on Jun 19, 2020

  1. Merge pull request #870 from meganz/release/v2.3.4

    Release/v2.3.4
    sergiohs84 authored Jun 19, 2020
    Configuration menu
    Copy the full SHA
    76fe37d View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2020

  1. Merge pull request #898 from meganz/hotfix/chat-room-nullability

    #16247. Chat room title nullability (Obj-C)
    sergiohs84 authored Jul 6, 2020
    Configuration menu
    Copy the full SHA
    d4b1e7e View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2020

  1. Merge pull request #889 from meganz/release/v2.3.5

    Release/v2.3.5
    sergiohs84 authored Jul 29, 2020
    Configuration menu
    Copy the full SHA
    badb304 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2020

  1. Configuration menu
    Copy the full SHA
    f390906 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    264e40f View commit details
    Browse the repository at this point in the history
  3. Fetch fresh URL if wsConnect fails

    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.
    jgandres committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    2f5fecd View commit details
    Browse the repository at this point in the history
  4. Fetch fresh URL if wsConnect fails for presenced

    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.
    jgandres committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    fa20517 View commit details
    Browse the repository at this point in the history
  5. Minor adjustment

    jgandres committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    d3b2a2d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a711665 View commit details
    Browse the repository at this point in the history
  7. Adjust logs and return

    sergiohs84 authored and jgandres committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    b085ffa View commit details
    Browse the repository at this point in the history
  8. Remove duplicated code

    The code in `wsCloseCb()` is already executed by the subsequent call to
    `retryPendingConnections(true)`.
    The code in `retryPendingConnection()` is already executed by
    `setState(kDisconnected)`
    sergiohs84 authored and jgandres committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    697cb78 View commit details
    Browse the repository at this point in the history
  9. Improve DNScache::updateRecord()

    Do not create temporary object and ensure it's an update (not an
    addition).
    sergiohs84 authored and jgandres committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    94d2b8e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    556eaab View commit details
    Browse the repository at this point in the history