commit | 741b4d6b7aad1e4a66dd8584b5eff729b08fade7 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Feb 25 15:02:04 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Feb 27 08:03:41 2019 +0100 |
tree | 4e0c709c8b8123859e6e741803c0982e3afdea54 | |
parent | 12a718488a91810bfdead2aa59d751a92fe7a080 [diff] |
BUG/MINOR: listener: keep accept rate counters accurate under saturation 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.