#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
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
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
Configurable limit added in https://hg.prosody.im/trunk/rev/902d25cd0557
Changes