mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-22 05:36:56 +00: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
@ -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 New Issue
Block a user