From: Emeric Brun Date: Mon, 5 Oct 2020 12:33:12 +0000 (+0200) Subject: BUG/MINOR: proxy: inc req counter on new syslog messages. X-Git-Tag: v2.3-dev6~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a39ecbdac10c9a58abb114f365a47c5d5e696623;p=thirdparty%2Fhaproxy.git BUG/MINOR: proxy: inc req counter on new syslog messages. Increase req counter instead of conn counter on new syslog messages. This should be backported on branches including the syslog forward feature. --- diff --git a/src/log.c b/src/log.c index 2a49561075..22f3caa47f 100644 --- a/src/log.c +++ b/src/log.c @@ -3545,7 +3545,7 @@ void syslog_fd_handler(int fd) /* update counters */ _HA_ATOMIC_ADD(&cum_log_messages, 1); - proxy_inc_fe_conn_ctr(l, l->bind_conf->frontend); + proxy_inc_fe_req_ctr(l, l->bind_conf->frontend); parse_log_message(buf->area, buf->data, &level, &facility, metadata, &message, &size);