bind9/lib/dns
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
..
include Remove unused dns_timer API 2022-02-16 11:07:04 +01:00
rdata Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
tests Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
.gitignore 4394. [func] Add rndc command "dnstap-reopen" to close and 2016-06-24 09:37:04 +10:00
acl.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
adb.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
badcache.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
byaddr.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
cache.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
callbacks.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
catz.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
client.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
clientinfo.c allow dns_clientinfo to store client ECS data 2022-01-27 14:51:11 -08:00
compress.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
db.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dbiterator.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
diff.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dispatch.c correct TCP error handling in dispatch and resolver 2022-02-17 16:03:39 +01:00
dlz.c Fix a memory leak in dns_dlzcreate() 2022-01-26 12:08:01 +00:00
dns64.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dnsrps.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dnssec.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dnstap.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dnstap.proto Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ds.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dst_api.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dst_internal.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dst_openssl.h Use autoconf check for BN_GENCB_new() 2022-03-02 10:49:47 +00:00
dst_parse.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dst_parse.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dyndb.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ecs.c allow dns_clientinfo to store client ECS data 2022-01-27 14:51:11 -08:00
fixedname.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
forward.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
gen.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
gen.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
geoip2.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
gssapi_link.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
gssapictx.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
hmac_link.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ipkeylist.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
iptable.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
journal.c Use unsigned arithmetic when shifting by 24 2022-03-02 11:06:39 +11:00
kasp.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
key.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
keydata.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
keymgr.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
keytable.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
log.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
lookup.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
Makefile.am Remove unused dns_timer API 2022-02-16 11:07:04 +01:00
master.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
masterdump.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
message.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
name.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ncache.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
nsec.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
nsec3.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
nta.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
openssl_link.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
openssl_shim.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
openssl_shim.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
openssldh_link.c Use autoconf check for BN_GENCB_new() 2022-03-02 10:49:47 +00:00
opensslecdsa_link.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
openssleddsa_link.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
opensslrsa_link.c Use autoconf check for BN_GENCB_new() 2022-03-02 10:49:47 +00:00
order.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
peer.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
private.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rbt.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rbtdb.c Use unsigned arithmetic when shifting by 24 2022-03-02 11:06:39 +11:00
rbtdb.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rcode.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rdata.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rdatalist.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rdatalist_p.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rdataset.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rdatasetiter.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rdataslab.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
request.c Add attach/detach for the dns_dispatch_send() 2022-03-08 09:50:13 +01:00
resolver.c Add "UNUSED(fctx);" to FCTXTRACE*() macro stubs 2022-02-21 11:06:28 +01:00
result.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rootns.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rpz.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rriterator.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rrl.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
sdb.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
sdlz.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
soa.c Use unsigned arithmetic when shifting by 24 2022-03-02 11:06:39 +11:00
ssu.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ssu_external.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
stats.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
time.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
tkey.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
transport.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
tsec.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
tsig.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
tsig_p.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ttl.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
update.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
validator.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
view.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
xfrin.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
zone.c Improve the zones' view reverting logic when a zone is a catalog zone 2022-01-26 12:06:17 +00:00
zone_p.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
zonekey.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
zoneverify.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
zt.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00