mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-16 08:24:42 +00: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)
|
||||
{
|
||||
ebmb_delete(node);
|
||||
memset(node, 0, sizeof(*node));
|
||||
}
|
||||
|
||||
int conn_create_mux(struct connection *conn)
|
||||
|
Loading…
Reference in New Issue
Block a user