]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tevt: Don't duplicate termination event during reporting
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Jan 2025 14:35:47 +0000 (15:35 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 31 Jan 2025 09:41:50 +0000 (10:41 +0100)
commitcbd898c42ba8a15bf0023ae65381be2b50310c75
tree22c6396999333cdd8dd010f20abbb473748ea585
parent2dc02f75b1f612a71158fd2c6c36bd2a68cd14c5
MINOR: tevt: Don't duplicate termination event during reporting

It is hard to never detect the same event several time without painful
tests. In other words, the same termination event can be reported several
time and this must be handled. To do so, "tevt_report_event" macro is
updated to ignore an event if the last reported one is of the same type, for
the same location. Of course, if the same event is reported several times at
different moment, it will not be detected.
include/haproxy/connection.h