From: Willy Tarreau Date: Fri, 1 May 2015 17:16:14 +0000 (+0200) Subject: MAJOR: peers: allow peers section to be used with nbproc > 1 X-Git-Tag: v1.6-dev2~151 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf59807a13efad31a99d48e57efe05343d77adec;p=thirdparty%2Fhaproxy.git MAJOR: peers: allow peers section to be used with nbproc > 1 This only works when the peers are bound to exactly one process. --- diff --git a/src/cfgparse.c b/src/cfgparse.c index aa039950f7..e8004c6282 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -6550,12 +6550,6 @@ int check_config_validity() } } - if (global.nbproc > 1 && curproxy->table.peers.name) { - Alert("Proxy '%s': peers can't be used in multi-process mode (nbproc > 1).\n", - curproxy->id); - cfgerr++; - } - switch (curproxy->mode) { case PR_MODE_HEALTH: cfgerr += proxy_cfg_ensure_no_http(curproxy);