#1107 Limit number of pending s2s connections

Reporter MattJ
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Status-Accepted
  • Type-Defect
  • Component-S2S
  • Priority-Medium
  1. MattJ on

    What steps will reproduce the problem? 1. Send stanzas to many remote domains simultaneously. What is the expected output? Prosody should limit the number of pending s2s connections to avoid excessive resource consumption. Probably the oldest connection should be closed with an error if it is older than a configured time threshold. Otherwise new connections should be rejected with resource-constraint. What do you see instead? Prosody allows an unlimited of pending s2s connections, which may stay open for some time if the connection times out.

  2. MattJ on

    Changes
    • tags Component-S2S

New comment

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