bind9/lib
Artem Boldariev 8b19f62ac5 TLSDNS: call send callbacks after only the data was sent
This commit ensures that write callbacks are getting called only after
the data has been sent via the network.

Without this fix, a situation could appear when a write callback could
get called before the actual encrypted data would have been sent to
the network. Instead, it would get called right after it would have
been passed to the OpenSSL (i.e. encrypted).

Most likely, the issue does not reveal itself often because the
callback call was asynchronous, so in most cases it should have been
called after the data has been sent, but that was not guaranteed by
the code logic.

Also, this commit removes one memory allocation (netievent) from a hot
path, as there is no need to call this callback asynchronously
anymore.
2022-04-27 17:57:11 +03:00
..
bind9 More explicit dns64 prefix errors 2022-03-25 16:08:22 +01:00
dns Add isc_rwlock around dns_aclenv .localhost and .localnets member 2022-04-26 14:21:57 +02:00
irs Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
isc TLSDNS: call send callbacks after only the data was sent 2022-04-27 17:57:11 +03:00
isccc Remove use of the inline keyword used as suggestion to compiler 2022-03-25 08:42:18 +01:00
isccfg Rename the configuration option to load balance sockets to reuseport 2022-04-06 17:24:13 +02:00
ns The route socket and its storage was detached while still reading 2022-04-26 16:41:24 +02: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