From: Aurelien DARRAGON Date: Fri, 27 Jun 2025 10:05:16 +0000 (+0200) Subject: MEDIUM: sink: change the sink mode type to PR_MODE_SYSLOG X-Git-Tag: v3.3-dev3~79 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23e5f18b8ec8167c220d21a263c5eb8dc1a37bad;p=thirdparty%2Fhaproxy.git MEDIUM: sink: change the sink mode type to PR_MODE_SYSLOG No change of behavior expected, but some compat checks will now be aware that the proxy type is not TCP but SYSLOG instead. --- diff --git a/src/sink.c b/src/sink.c index 0ed32c252..73924ec7c 100644 --- a/src/sink.c +++ b/src/sink.c @@ -400,6 +400,7 @@ static int cli_parse_show_events(char **args, char *payload, struct appctx *appc /* Pre-configures a ring proxy to emit connections */ void sink_setup_proxy(struct proxy *px) { + px->mode = PR_MODE_SYSLOG; px->maxconn = 0; px->conn_retries = 1; /* FIXME ignored since 91e785ed * ("MINOR: stream: Rely on a per-stream max connection retries value")