BUG/MEDIUM: stconn: Add a missing return statement in sc_app_shutr()
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 4 Apr 2023 08:06:57 +0000 (10:06 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 5 Apr 2023 06:46:06 +0000 (08:46 +0200)
commitc665bb5637959be282226bd55ce372e1d2244db3
tree9b03b59b076f0dcf441a0ea8c458d35104e22637
parenta664aa6a6875f5008998cd4c88f7ddc4c862be0e
BUG/MEDIUM: stconn: Add a missing return statement in sc_app_shutr()

In the commut b08c5259e ("MINOR: stconn: Always report READ/WRITE event on
shutr/shutw"), a return statement was erroneously removed from
sc_app_shutr(). As a consequence, CF_SHUTR flags was never set. Fortunately,
it is the default .shutr callback function. Thus when a connection or an
applet is attached to the SC, another callback is used to performe a
shutdown for reads.

It is a 28-dev specific issue. No backport needed.
src/stconn.c