#1340 mod_s2s: Allow holding queued stanzas until some condition is fulfilled

Reporter Zash
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Type-Enhancement
  • Status-New
  • Priority-Medium
  • Component-S2S
  1. Zash on

    *Background* Because s2s connections are normally unidirectional, you likely don't get replies on the same connection. A connection in the other direction might not even be set up. Thus it is not easy to know whether queued outgoing stanzas were delivered successfully or if there were errors that could not be delivered. In the days before SASL EXTERNAL with certificates became common, establishing Dialback usually ensured that bidirectional connectivity worked before queued stanzas were sent. *Feature* A way to verify that bidirectional s2s is in working order before sending queued stanzas.

  2. Zash on

    Using util.async to wait for a ping-promise in the `s2sout-establised` might work already.

  3. Zash on

    Changes
    • tags Component-S2S

New comment

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