]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: listener: use the protocol's ->rx_resume() method when available
authorWilly Tarreau <w@1wt.eu>
Fri, 25 Sep 2020 15:31:05 +0000 (17:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2020 09:27:30 +0000 (11:27 +0200)
commit010fe151ceb872ade68916f367d877338f14046e
tree836a84c6e4b01ebc1b6893c7ec6546ceebdd092b
parent58e6b71bb0a8b06276970e7c6e9c4fea2aff1b37
MINOR: listener: use the protocol's ->rx_resume() method when available

Instead of calling listen() for IPPROTO_TCP in resume_listener(), let's
call the protocol's ->rx_resume() method when defined, which does the same.
This removes another hard-dependency on the fd and underlying protocol
from the generic functions.
src/listener.c