MEDIUM: connection: make use of CO_FL_WILL_UPDATE in conn_sock_shutw()
authorWilly Tarreau <w@1wt.eu>
Wed, 25 Oct 2017 07:59:22 +0000 (09:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 25 Oct 2017 13:52:41 +0000 (15:52 +0200)
commit7b271b214fa5a750d6c93d429b72e7004b6168eb
tree8fc3b883c858bd7fc027a9696ceade0e3c02b274
parent916e12dcfbee0d66f2ac04f7c033b6946d71bfe2
MEDIUM: connection: make use of CO_FL_WILL_UPDATE in conn_sock_shutw()

This one may be called by upper layers (eg: si_shutw()) or lower layers
(si_shutw() as well during stream_int_notify()) so we want it to take
care of updating the connection's flags if it's not going to be done
by the caller.
include/proto/connection.h