]> git.kaiwu.me - haproxy.git/commitdiff
DOC: config: Use the right alias for %B
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 5 Mar 2026 08:33:13 +0000 (09:33 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 5 Mar 2026 14:34:47 +0000 (15:34 +0100)
In custom log format part, %[req.bytes_in] was erroneously documented as the
alias of %B. The good alias is %[res.bytes_in]. It is now fixed.

This patch must be backported to 3.3.

doc/configuration.txt

index e3454608851b4f0dac410df9319ba4c3c0fbc4e8..7905e181563318f05eb8fb3497763ae9ed85cbc1 100644 (file)
@@ -28746,7 +28746,7 @@ Please refer to the table below for currently defined aliases :
   |                          Others                                           |
   +---+------+------------------------------------------------------+---------+
   |   | %B   | bytes_read           (from server to client)         | numeric |
-  |   |      | %[req.bytes_in]                                      |         |
+  |   |      | %[res.bytes_in]                                      |         |
   +---+------+------------------------------------------------------+---------+
   | H | %CC  | captured_request_cookie                              | string  |
   +---+------+------------------------------------------------------+---------+