MINOR: connection: remove unneeded memset 0 for idle conns
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 20 Oct 2021 13:11:37 +0000 (15:11 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 22 Oct 2021 15:29:25 +0000 (17:29 +0200)
commit8e358af8a3454dc64fdc4923d8c78c5b622d6fb8
tree90b12fc17bb3f0a997bd9b0d3a13564ff4e6a901
parent926712ab2d04b2c9a0658e0f9fc390be303baffd
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.
src/connection.c