]> git.ipfire.org Git - thirdparty/bind9.git/commit
TLS: try to avoid allocating send request objects
authorArtem Boldariev <artem@boldariev.com>
Mon, 5 Dec 2022 18:19:03 +0000 (20:19 +0200)
committerArtem Boldariev <artem@boldariev.com>
Tue, 20 Dec 2022 20:13:53 +0000 (22:13 +0200)
commit56732ac2a0c38e726c2beba4e8acf33226bf7739
tree1b0ba18c69628e992c5a6d82057b73a81ffbf537
parent4277eeeb9c56c5d1ac43af714f328ac9fec791ef
TLS: try to avoid allocating send request objects

This commit optimises TLS send request object allocation to enable
send request object reuse, somewhat reducing pressure on the memory
manager. It is especially helpful in the case when Stream DNS uses the
TLS implementation as the transport.
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/tlsstream.c