bind9/lib
Artem Boldariev 9b320b1682 TLS DNS: do not call accept callback twice
Before the changes from this commit were introduced, the accept
callback function will get called twice when accepting connection
during two of these stages:

* when accepting the TCP connection;
* when handshake has completed.

That is clearly an error, as it should have been called only once. As
far as I understand it the mistake is a result of TLS DNS transport
being essentially a fork of TCP transport, where calling the accept
callback immediately after accepting TCP connection makes sense.

This commit fixes this mistake. It did not have any very serious
consequences because in BIND the accept callback only checks an ACL
and updates stats.

(cherry picked from commit e616d7f240)
2022-06-15 15:32:49 +03:00
..
bind9 prevent a possible buffer overflow in configuration check 2022-05-13 20:29:36 -07:00
dns make the fix more complete 2022-06-14 12:06:54 +10:00
irs Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
isc TLS DNS: do not call accept callback twice 2022-06-15 15:32:49 +03:00
isccc Remove use of the inline keyword used as suggestion to compiler 2022-03-25 08:42:18 +01:00
isccfg Error if key lifetime is too short 2022-05-31 17:16:53 +02:00
ns Fix a race condition between shutdown and route_connected() 2022-06-14 14:57:23 +00: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