#1246 Implement happy eyeballs for all IP address candidates for s2s

Reporter Jonas Wielicki
Owner MattJ
Stars ★ (1)
  • Status-Fixed
  • net.connect
  • Component-Network
  • Priority-Medium
  • Type-Enhancement
  • Milestone-0.13
  1. Jonas Wielicki on

    Description of feature: Attempt to connect to all possible IP addresses (maybe up to a limit :)) of a hostname at once and use the first connection which succeeds (on whatever level you want to define "success"). Motivation: Prosody behaves really badly if the first candidate is not connectable and fails with a timeout (blackholed or internet routing mess). The s2s connection will fail consistently until the source of the timeout is fixed.

  2. Zash on

    Happy reading: https://tools.ietf.org/html/rfc8305

    • tags Status-Accepted
  3. Zash on

    Tags for discoverability! Also https://www.rfc-editor.org/info/rfc8305 is probably the more stable URL for the RFC.

    • tags Component-Network net.connect
  4. Zash on

    Done in https://hg.prosody.im/trunk/rev/acfc51b9530c https://hg.prosody.im/trunk/rev/9f0baf15e792 https://hg.prosody.im/trunk/rev/596625eed326 https://hg.prosody.im/trunk/rev/e132a4279914 https://hg.prosody.im/trunk/rev/18a3a6218100

    • owner MattJ
    • tags Milestone-0.13 Status-Fixed

New comment

Not published. Used for spam prevention and optional update notifications.