]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: counters: do not untrack counters before logging
authorWilly Tarreau <w@1wt.eu>
Wed, 25 Jun 2014 13:36:04 +0000 (15:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 25 Jun 2014 13:36:04 +0000 (15:36 +0200)
commitd713bcc326da5d1ac80adab666d7710f3e37650c
tree01c714ac64bce982e6fa8df17188c79ad4fefb71
parent0abf836ecb32767fa1f9ad598f3e236e073491bd
BUG/MINOR: counters: do not untrack counters before logging

Baptiste Assmann reported a corner case in the releasing of stick-counters:
we release content-aware counters before logging. In the past it was not a
problem, but since now we can log them it, it prevents one from logging
their value. Simply switching the log production and the release of the
counter fixes the issue.

This should be backported into 1.5.
src/proto_http.c