From: Christopher Faulet Date: Fri, 13 Jan 2023 14:33:32 +0000 (+0100) Subject: MEDIUM: bwlim: Support constants limit or period on set-bandwidth-limit actions X-Git-Tag: v2.8-dev2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da2e117369d82e8048d08d17f6f58d047d0c6959;p=thirdparty%2Fhaproxy.git MEDIUM: bwlim: Support constants limit or period on set-bandwidth-limit actions It is now possible to set a constant for the limit or period parameters on a set-bandwidth-limit actions. The limit must follow the HAProxy size format and is expressed in bytes. The period must follow the HAProxy time format and is expressed in milliseconds. Of course, it is still possible to use sample expressions instead. The documentation was updated accordingly. It is not really a bug. Only exemples were written this way in the documentation. But it could be good to backport this change in 2.7. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index c6df770c0f..26cc044aff 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -6592,7 +6592,7 @@ http-request [options...] [ { if | unless } ] - sc-inc-gpc1() - sc-set-gpt(,) { | } - sc-set-gpt0() { | } - - set-bandwidth-limit [limit ] [period ] + - set-bandwidth-limit [limit { | }] [period { |