mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-05 22:56:57 +02:00
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:
parent
1045623cb8
commit
23e5f18b8e
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user