mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-05 10:58:14 +00:00
BUG/MEDIUM: sessions: Don't use t->state.
In session_expire_embryonic(), don't use t->state, use the "state" argument instead, as t->state has been cleaned before we're being called.
This commit is contained in:
parent
d8b7a4701d
commit
fde2a09a15
@ -388,7 +388,7 @@ static struct task *session_expire_embryonic(struct task *t, void *context, unsi
|
||||
{
|
||||
struct session *sess = context;
|
||||
|
||||
if (!(t->state & TASK_WOKEN_TIMER))
|
||||
if (!(state & TASK_WOKEN_TIMER))
|
||||
return t;
|
||||
|
||||
session_kill_embryonic(sess);
|
||||
|
Loading…
Reference in New Issue
Block a user