]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: listeners: move fd_stop_recv() to the receiver's socket code
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Sep 2020 16:20:37 +0000 (18:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2020 09:27:30 +0000 (11:27 +0200)
commite53608b2cdde551048d585fa5b60925c923c58f0
tree83b6c658325800919e547ab1e00536dd41db6232
parentfb76bd5ca647cd30157f6273bb69cdfb2075f520
MINOR: listeners: move fd_stop_recv() to the receiver's socket code

fd_stop_recv() has nothing to do in the generic listener code, it's per
protocol as some don't need it. For instance with abns@ it could even
lead to fd_stop_recv(-1). And later with QUIC we don't want to touch
the fd at all! It used to be that since commit f2cb169487 delegating
fd manipulation to their respective threads it wasn't possible to call
it down there but it's not the case anymore, so let's perform the action
in the protocol-specific code.
src/listener.c
src/proto_tcp.c
src/proto_uxst.c