]> git.ipfire.org Git - thirdparty/bind9.git/commit
TLS: try to close sockets whenever there are no pending operations
authorArtem Boldariev <artem@boldariev.com>
Fri, 24 Jun 2022 12:20:13 +0000 (15:20 +0300)
committerArtem Boldariev <artem@boldariev.com>
Tue, 12 Jul 2022 11:40:22 +0000 (14:40 +0300)
commit88524e26ecae286bf62d4a4b5535c70ccff1573d
tree6be3adc0f2666cac18bf7e6f35db985ff4225c55
parent237ce05b89fe3dd3a928b1879573195806d24a35
TLS: try to close sockets whenever there are no pending operations

This commit ensures that the underlying TCP socket of a TLS connection
gets closed earlier whenever there are no pending operations on it.

In the loop-manager branch, in some circumstances the connection
could have remained opened for far too long for no reason. This
commit ensures that will not happen.
lib/isc/netmgr/tlsstream.c