commit | a1547ce0a01cd63e5930de5f08148b523ac03cf0 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue May 24 09:11:17 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri May 27 19:33:34 2022 +0200 |
tree | a79264af35eaf2c61cafb7e808d1229f63622582 | |
parent | 902ba7e2bc25c1426d34bf3ec2441d751db9df95 [diff] |
MINOR: stconn: consider CF_SHUTW for sc_is_send_allowed() When a shutdown(WR) is performed, send is no longer allowed, and that is currently handled by the explicit cs_done_get() in the various shutw() calls. That's a bit ugly and complicated for no reason, let's simply integrate the test of SHUTW in sc_is_send_allowed(). Note that the test could also be added wherever sc_is_send_allowed() is used but for now proceeding like this limits the changes.