]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: proxy: simplify proxy_parse_rate_limit proxy checks
authorWilliam Dauchy <w.dauchy@criteo.com>
Thu, 16 Jan 2020 00:34:27 +0000 (01:34 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 16 Jan 2020 06:04:05 +0000 (07:04 +0100)
commitbb9da0b8e23c46caab34fe6005b66fa8065fe3ac
treeb2f7a77a2c9365686ffa4c457f96a1126e437c89
parentac8147446c7a3d1aa607042bc782095b03bc8dc4
CLEANUP: proxy: simplify proxy_parse_rate_limit proxy checks

rate-limits are valid for both frontend and listen, but not backend; so
we can simplify this check in a similar manner as it is done in e.g
max-keep-alive-queue.

this should fix github issue #449

Signed-off-by: William Dauchy <w.dauchy@criteo.com>
src/proxy.c