mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-01-30 14:31:08 +01:00
MINOR: sink: Remove useless test on SE_FL_SHR/SHW flags
Re-apply dcd917d972 ("MINOR: applet: Remove uselelss test on SE_FL_SHR/SHW
flags") for sink_forward_oc_io_handler() function as it was probably
overlooked given that sink_forward_oc_io_handler() and
sink_forward_io_handler() follow the same logic.
This commit is contained in:
parent
901a66b3fc
commit
f2848e6146
@ -424,7 +424,7 @@ static void sink_forward_oc_io_handler(struct appctx *appctx)
|
||||
size_t ofs, last_ofs;
|
||||
int ret = 0;
|
||||
|
||||
if (unlikely(se_fl_test(appctx->sedesc, (SE_FL_EOS|SE_FL_ERROR|SE_FL_SHR|SE_FL_SHW))))
|
||||
if (unlikely(se_fl_test(appctx->sedesc, (SE_FL_EOS|SE_FL_ERROR))))
|
||||
goto out;
|
||||
|
||||
/* if stopping was requested, close immediately */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user