mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-20 12:46:56 +00:00
BUG/MINOR: stream: Remove BUG_ON about the task expiration in process_stream()
At the end of process_stream(), A BUG_ON was recently added to abort if we leave the function with an expired task. However, it may happen if an event prevents the timeout to be handled but nothing evolved. In this case, the task expiration is not updated and we expect to catch the timeout on the immediate task wakeup. No backport needed.
This commit is contained in:
parent
c9ec9bc834
commit
3bbd2baab3
@ -2533,7 +2533,6 @@ struct task *process_stream(struct task *t, void *context, unsigned int state)
|
||||
|
||||
t->expire = tick_first(t->expire, s->conn_exp);
|
||||
|
||||
BUG_ON(tick_is_expired(t->expire, now_ms));
|
||||
|
||||
s->pending_events &= ~(TASK_WOKEN_TIMER | TASK_WOKEN_RES);
|
||||
stream_release_buffers(s);
|
||||
|
Loading…
Reference in New Issue
Block a user