mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 06:11:32 +02:00
MINOR: connection: remove unneeded memset 0 for idle conns
Remove the zeroing of an idle connection node on remove from a tree. This is not needed and should improve slightly the performance of idle connection usage. Besides, it breaks the memory poisoning feature.
This commit is contained in:
parent
926712ab2d
commit
8e358af8a3
@ -54,7 +54,6 @@ static int pp2_never_send_local;
|
|||||||
void conn_delete_from_tree(struct ebmb_node *node)
|
void conn_delete_from_tree(struct ebmb_node *node)
|
||||||
{
|
{
|
||||||
ebmb_delete(node);
|
ebmb_delete(node);
|
||||||
memset(node, 0, sizeof(*node));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int conn_create_mux(struct connection *conn)
|
int conn_create_mux(struct connection *conn)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user