#1106 Set limit on number of queued stanzas for unconnected s2s

Reporter MattJ
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Priority-Medium
  • Type-Defect
  • Status-Fixed
  • Milestone-0.13
  • Component-S2S
  1. MattJ on

    What steps will reproduce the problem? 1. Send a large number of stanzas to a remote domain that times out 2. While the connection is pending, Prosody stores an unlimited number of stanzas and queues, potentially consuming a lot of memory What is the expected output? When a fixed number of stanzas is reached, Prosody should reject old ones or new ones with an error. What version of the product are you using? On what operating system? Prosody 0.10

  2. MattJ on

    Changes
    • tags Component-S2S
  3. Zash on

    Configurable limit added in https://hg.prosody.im/trunk/rev/902d25cd0557

    Changes
    • tags Milestone-0.13 Status-Fixed
    • owner Zash

New comment

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