commit | fde2a09a15408311d42574cc7196659e26f26d75 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Thu Aug 16 19:03:50 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Aug 16 19:25:56 2018 +0200 |
tree | 4d02b4c1c28dade15e9fe4ae24df5013f0ba21e3 | |
parent | d8b7a4701d1b01db5b0efc1de4227acfa9604d0f [diff] |
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.
diff --git a/src/session.c b/src/session.c index 1d66b73..d7d8544 100644 --- a/src/session.c +++ b/src/session.c
@@ -388,7 +388,7 @@ { struct session *sess = context; - if (!(t->state & TASK_WOKEN_TIMER)) + if (!(state & TASK_WOKEN_TIMER)) return t; session_kill_embryonic(sess);