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.
This commit is contained in:
Aurelien DARRAGON 2025-06-27 12:05:16 +02:00
parent 1045623cb8
commit 23e5f18b8e

View File

@ -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")