mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-21 17:00:24 -05:00
[CLEANUP] stats: use stksess_kill() to remove table entries
Using it will be more reliable in the long term as we'll only have to modify stksess_kill() if we want to extend the tables.
This commit is contained in:
parent
0a4838cd31
commit
df39e955c0
1 changed files with 1 additions and 4 deletions
|
|
@ -546,10 +546,7 @@ int stats_sock_parse_request(struct stream_interface *si, char *line)
|
|||
return 1;
|
||||
}
|
||||
|
||||
eb32_delete(&ts->exp);
|
||||
ebmb_delete(&ts->key);
|
||||
stksess_free(&px->table, ts);
|
||||
|
||||
stksess_kill(&px->table, ts);
|
||||
/* end of processing */
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue