[MEDIUM] listeners: queue proxy-bound listeners at the proxy's
All listeners that are limited by a proxy-specific resource are now
queued at the proxy's and not globally. This allows finer-grained
wakeups when releasing resource.
diff --git a/src/session.c b/src/session.c
index 750cf40..65c92db 100644
--- a/src/session.c
+++ b/src/session.c
@@ -2096,6 +2096,9 @@
if (!LIST_ISEMPTY(&global_listener_queue))
dequeue_all_listeners(&global_listener_queue);
+ if (!LIST_ISEMPTY(&s->fe->listener_queue))
+ dequeue_all_listeners(&s->fe->listener_queue);
+
if (unlikely((global.mode & MODE_DEBUG) &&
(!(global.mode & MODE_QUIET) || (global.mode & MODE_VERBOSE)))) {
int len;