]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: conn-stream: Rely on endpoint shutdown flags to shutdown an applet
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 21 Apr 2022 06:50:00 +0000 (08:50 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 22 Apr 2022 12:14:27 +0000 (14:14 +0200)
commit02ef0ff0612f2e3b15e8d2442fba2069a0847262
tree1d7235868b2e0ccf839d0073cbdbb347a0eb5f2b
parentca6c9bba823a72239428a3aadaa713dfd438dfc8
MINOR: conn-stream: Rely on endpoint shutdown flags to shutdown an applet

cs_applet_shut() now relies on CS_EP_SH* flags to performed the applet
shutdown. It means the applet release callback is called if there is no
CS_EP_SHR or CS_EP_SHW flags set. And it set these flags, CS_EP_SHRR and
CS_EP_SHWN more specifically, before exiting.

This way, cs_applet_shut() is the really equivalent to cs_conn_shut().
src/conn_stream.c