]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: listener: move the ->accept callback to the bind_conf
authorWilly Tarreau <w@1wt.eu>
Thu, 12 Jan 2023 18:10:17 +0000 (19:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Feb 2023 17:00:20 +0000 (18:00 +0100)
commit3083615410849c8fd109abb61e1c3e26f59c75be
treed34f6d873d7da643e52e96d70e060cc6d85143ff
parent758c69d951903b1882217fd7b675851b8a4cd43b
MINOR: listener: move the ->accept callback to the bind_conf

The accept callback directly derives from the upper layer, generally
it's session_accept_fd(). As such it's also defined per bind line
so it makes sense to move it there.
include/haproxy/listener-t.h
src/cfgparse.c
src/cli.c
src/listener.c
src/log.c