mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-27 00:57:03 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue