commit | b50bf046e8340d32a2034affdc515881e0b5caf7 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Sep 24 08:15:48 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Oct 09 11:27:30 2020 +0200 |
tree | 3a65f2bdaa9fbd07c2d093af414a1eb4bd05ce86 | |
parent | f18d968830ff66638ef99498c241054e3a03195c [diff] |
MINOR: startup: don't rely on PR_STNEW to check for listeners Instead of looking at listeners in proxies in PR_STNEW state, we'd rather check for listeners in those not in PR_STSTOPPED as it's only this state which indicates the proxy was disabled. And let's check the listeners count instead of testing the list's head.