mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-31 15:47:10 +00:00
BUG/MAJOR: peers: the listener's maxaccept was not set and caused loops
Recent commit 16a214 to move the maxaccept parameter to listeners didn't set it on the peers' listeners, resulting in the value zero being used there. This caused a busy loop for each peers section, because no incoming connection could be accepted. Thanks to Herv Commowick for reporting this issue.
This commit is contained in:
parent
cfd97c6f04
commit
ca57de3e7b
@ -7135,6 +7135,7 @@ out_uri_auth_compat:
|
||||
while (*last) {
|
||||
curpeers = *last;
|
||||
if (curpeers->peers_fe) {
|
||||
LIST_NEXT(&curpeers->peers_fe->conf.listeners, struct listener *, by_fe)->maxaccept = 1;
|
||||
last = &curpeers->next;
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user