commit | 5de7817ae874901dfe44838dd26dd10c2d822c1d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Nov 15 07:04:24 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Nov 15 07:06:46 2019 +0100 |
tree | 1b950f6d63e2303ad97bfa15fd344608e54670d2 | |
parent | a132e5efa94c962144e78378403c566875a6d37e [diff] |
CLEANUP: session: slightly simplify idle connection cleanup logic Since previous commit a132e5efa9 ("BUG/MEDIUM: Make sure we leave the session list in session_free().") it's pointless to delete the conn element inside "if" blocks given that the second test is always true as well. Let's simplify this with a single LIST_DEL_INIT() before the test.