Now a peers section has its bind_proc set to the union of all those of
its users.
global.last_checks |= cfg_opts2[optnum].checks;
}
+ /* compute the required process bindings for the peers */
+ for (curproxy = proxy; curproxy; curproxy = curproxy->next)
+ if (curproxy->table.peers.p)
+ curproxy->table.peers.p->peers_fe->bind_proc |= curproxy->bind_proc;
+
if (peers) {
struct peers *curpeers = peers, **last;
struct peer *p, *pb;
fe->accept = frontend_accept;
fe->default_target = &peer_applet.obj_type;
fe->options2 |= PR_O2_INDEPSTR | PR_O2_SMARTCON | PR_O2_SMARTACC;
+ fe->bind_proc = 0; /* will be filled by users */
}
/*