]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: stream: Don't incr frontend cum_req counter when stream is closed
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 18 Feb 2020 10:51:11 +0000 (11:51 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 18 Feb 2020 10:56:22 +0000 (11:56 +0100)
commit0f19e43f2e43024c169b81430e430992352243e3
tree55a6bc4d06842f2df16e1e3f962a622020289448
parent34b18e439129ca9df17ff46e60d009bb308d064a
BUG/MINOR: stream: Don't incr frontend cum_req counter when stream is closed

This counter is already incremented when a new request is received (or if an
error occurred waiting it). So it must not be incremented when the stream is
terminated, at the end of process_strem(). This bug was introduced by the commit
cff0f739e ("MINOR: counters: Review conditions to increment counters from
analysers").

No backport needed.
src/stream.c