diff options
author | Mark Michelson <mmichelson@digium.com> | 2015-11-11 17:11:53 -0600 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2015-11-12 11:41:27 -0500 |
commit | 2f9cb7d62bf1ee2d3f7d878607d2d1eb9995dd03 (patch) | |
tree | d4459c8c979169eaa11d01bd62b01c4ff3da2421 /main/strings.c | |
parent | 7ae22c26901abede6e4542aa6ccd94151f4ca134 (diff) |
res_pjsip: Deny requests when threadpool queue is backed up.
We have observed situations where the SIP threadpool may become
deadlocked. However, because incoming traffic is still arriving, the SIP
threadpool's queue can continue to grow, eventually running the system
out of memory.
This change makes it so that incoming traffic gets rejected with a 503
response if the queue is backed up too much.
Change-Id: I4e736d48a2ba79fd1f8056c0dcd330e38e6a3816
Diffstat (limited to 'main/strings.c')
0 files changed, 0 insertions, 0 deletions