]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] proxy: make session rate-limit more accurate
authorWilly Tarreau <w@1wt.eu>
Mon, 25 Jul 2011 06:30:51 +0000 (08:30 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Jul 2011 06:30:51 +0000 (08:30 +0200)
commitd408bd40f3f4f2886487466c48cef9c0f18cb857
treee34a7de30451288e7b0589d6e8b7a5c30da1a08f
parenta17c2d93617012f6e7db98fcdfadd434a96ed847
[MINOR] proxy: make session rate-limit more accurate

Patch d9bbe17b used to limit the rate-limit to off-by-one to avoid
a busy loop when the limit is reached. Now that the listeners are
automatically disabled and queued when a limit is reached, we don't
need this workaround anymore and can bring back the most accurate
computation.
src/proxy.c