mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-10 07:27:56 +00:00
BUG/MINOR: stream: Don't forget to remove CF_WAKE_ONCE flag on response channel
This flag can be set on a channel to pretend there is activity on it. This is a way to wake-up the corresponding stream and evaluate stream analyzers on the channel. It is correctly handled on both channels but removed only on the request channel. This patch is flagged as a bug but for now, CF_WAKE_ONCE is never set on the response channel.
This commit is contained in:
parent
2ab88675ec
commit
cdaea89a0c
@ -1881,6 +1881,7 @@ struct task *process_stream(struct task *t)
|
||||
|
||||
rp_cons_last = si_f->state;
|
||||
rp_prod_last = si_b->state;
|
||||
res->flags &= ~CF_WAKE_ONCE;
|
||||
rpf_last = res->flags;
|
||||
|
||||
if ((res->flags ^ flags) & CF_MASK_STATIC)
|
||||
|
Loading…
Reference in New Issue
Block a user