bind9/lib
Ondřej Surý c6f8e68dd8 Add attach/detach for the dns_dispatch_send()
The order in which the netievents are processed on the network manager
loop is not guaranteed.  Therefore the recv/read callback can come
earlier than the send/write callback.

The dns_request API wasn't ready for this reordering and it was
destroying the dns_request_t object before the send callback has been
called.

Add additional attach/detach in the req_send()/req_senddone() functions
to make sure we don't destroy the dns_request_t while it's still being
references by asynchronous call.

(cherry picked from commit f3ca90a804)
2022-03-08 09:50:13 +01:00
..
bind9 Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dns Add attach/detach for the dns_dispatch_send() 2022-03-08 09:50:13 +01:00
irs Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
isc Remove EVP_CIPHER_CTX_new() and EVP_CIPHER_CTX_free() shims 2022-03-02 10:49:47 +00:00
isccc Use ISC_R_SHUTTINGDOWN to detect netmgr shutting down 2022-01-13 09:14:12 +01:00
isccfg Check dnssec-policy key roles for validity 2022-03-08 14:28:53 +11:00
ns Fix more ns_statscounter_recursclients underflows 2022-02-23 14:43:09 +01:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am move samples/resolve.c to bin/tests/system 2021-04-16 14:29:43 +02:00
unit-test-driver.sh.in Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00