mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-12 08:12:36 +02:00
The test on l->nbconn forces to exit the loop before updating the freq counters, so the last session which reaches a listener's limit will not be accounted for in the session rate measurement. Let's move the test at the beginning of the loop and mark the listener as saturated on exit. This may be backported to 1.9 and 1.8.