MINOR: listeners: check the current listener earlier state in resume_listener()
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Sep 2020 16:54:11 +0000 (18:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2020 09:27:30 +0000 (11:27 +0200)
commit5d7f9ce83123ece0245994b6c07298c872111cc9
tree99cf922324d68e3cf38d214f6a66d0d33072b806
parent9b3a932777456197a601feaf4cf8311ec20a68a7
MINOR: listeners: check the current listener earlier state in resume_listener()

It's quite confusing to have the test on LI_READY very low in the function
as it should be made much earlier. Just like with previous commit, let's
do it when entering. The additional states, however (limited, full) continue
to go through the whole function.
src/listener.c