]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: trace: Test server existence for health-checks to get proxy
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 8 Jun 2022 07:06:15 +0000 (09:06 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 8 Jun 2022 13:28:38 +0000 (15:28 +0200)
commite3b257479652bf148944571e8aca7beafd5afd65
tree8b18c5ef92308cc370179a55f64bdac9d4de9976
parent2d7cd3e4ca086e0ed6902f12f41b0e4d79b8445d
BUG/MINOR: trace: Test server existence for health-checks to get proxy

Email alerts are based on health-checks but with no server. Thus, in
__trace() function, responsible to write a trace message, we must be
prepared to have no server and thus no proxy.

This patch must be backported as far as 2.4.
src/trace.c