]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: listeners: make the accept loop more robust when maxaccept==0
authorWilly Tarreau <w@1wt.eu>
Fri, 23 Nov 2012 19:11:45 +0000 (20:11 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 23 Nov 2012 19:22:10 +0000 (20:22 +0100)
commit50de90a228ec377da8c318c2c0d2bf254f673e95
tree4ebd3f30f4bc61c528328d15d190745f1cb26daa
parentca57de3e7b5ea23e9e1ec51cb33637334196b52f
MINOR: listeners: make the accept loop more robust when maxaccept==0

If some listeners are mistakenly configured with 0 as the maxaccept value,
then we now consider them as limited to one accept() at a time. This will
avoid some issues as fixed by the past commit.
src/listener.c