]> git.kaiwu.me - haproxy.git/commit
MINOR: stats/htx: Call channel_add_input instead of updating channel state by hand
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 2 Jan 2019 13:34:39 +0000 (14:34 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Jan 2019 19:12:47 +0000 (20:12 +0100)
commit5adbeeb336d244176b748d4f1ec271584c32131b
tree1efefba7ccb61ae2466eb9b9eea82e496703e586
parente64582929fd1171ebe4c84488a1fcf44a5fb6fbc
MINOR: stats/htx: Call channel_add_input instead of updating channel state by hand

This way we are sure the channel state is always correctly upadated, especially
the amount of data directly forwarded. For the stats applet, it is not a bug
because the fast forwarding is never used (the response is chunked and the HTX
extra field is always set to 0).

This patch must be backported to 1.9.
src/stats.c