commit | f3629f88acb627d0cf3d0b43f820e939bc18a358 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue May 03 11:05:39 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri May 06 18:13:35 2022 +0200 |
tree | faa33534debda72ec8e2219a8c36456768e5f85d | |
parent | 7fb591a4e4013bf294a24cbe7ed5c04fdb1121a1 [diff] |
CLEANUP: stream/cli: remove the unneeded init state from "show sess" This state was only used to preset the list element. Now that we can guarantee that the context can be properly preset during the parsing we don't need this state anymore. The first pointer has to be set to point to the first stream during the initial call which is detected by the pointer not yet being set (null). Thanks to this we can also remove one state check on the abort path.