]> git.ipfire.org Git - thirdparty/bind9.git/commit
Call the isc__nm_failed_connect_cb() early when shutting down
authorOndřej Surý <ondrej@sury.org>
Thu, 18 Mar 2021 20:37:12 +0000 (21:37 +0100)
committerEvan Hunt <each@isc.org>
Thu, 18 Mar 2021 21:31:15 +0000 (14:31 -0700)
commite4b07303877cd753d00a21c91eb4443ef293ddb9
tree3c5fed3ad2e88d9ef3c305ef921bd4484c185bcc
parent73c574e5535c31d284cc255804c3585047bbefec
Call the isc__nm_failed_connect_cb() early when shutting down

When shutting down, calling the isc__nm_failed_connect_cb() was delayed
until the connect callback would be called.  It turned out that the
connect callback might not get called at all when the socket is being
shut down.  Call the failed_connect_cb() directly in the
tlsdns_shutdown() instead of waiting for the connect callback to call it.
lib/isc/netmgr/tlsdns.c