mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 15:47:01 +02: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;
|
struct session *sess = context;
|
||||||
|
|
||||||
if (!(t->state & TASK_WOKEN_TIMER))
|
if (!(state & TASK_WOKEN_TIMER))
|
||||||
return t;
|
return t;
|
||||||
|
|
||||||
session_kill_embryonic(sess);
|
session_kill_embryonic(sess);
|
||||||
|
Loading…
Reference in New Issue
Block a user