]> git.ipfire.org Git - thirdparty/bind9.git/commit
Turn all the callback to be always asynchronous
authorOndřej Surý <ondrej@sury.org>
Wed, 11 Nov 2020 09:46:33 +0000 (10:46 +0100)
committerOndřej Surý <ondrej@sury.org>
Wed, 11 Nov 2020 21:15:40 +0000 (22:15 +0100)
commita49d88568fef290f1ad3ce5656d0e30d41d61606
tree9161469e6d7fd26cfd07128792aa8312bf2affd5
parentfece7a4881dbfdf45065b2fadf133f2f4d7adae1
Turn all the callback to be always asynchronous

When calling the high level netmgr functions, the callback would be
sometimes called synchronously if we catch the failure directly, or
asynchronously if it happens later.  The synchronous call to the
callback could create deadlocks as the caller would not expect the
failed callback to be executed directly.
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/netmgr.c
lib/isc/netmgr/tcp.c
lib/isc/netmgr/tcpdns.c
lib/isc/netmgr/tls.c
lib/isc/netmgr/udp.c