]> git.ipfire.org Git - thirdparty/bind9.git/commit
TLS: do not ignore accept callback result
authorArtem Boldariev <artem@boldariev.com>
Sat, 2 Jul 2022 00:31:35 +0000 (03:31 +0300)
committerArtem Boldariev <artem@boldariev.com>
Tue, 12 Jul 2022 11:40:22 +0000 (14:40 +0300)
commitffcb54211e148ecc7e145f6ea79a0ab2a58a2287
tree6b2852fc68abc1d5ddef31d82c631f922d2ee164
parent0f9b6a7bc18856ffd087ec23bb97f1ea3a5964b6
TLS: do not ignore accept callback result

Before this change the TLS code would ignore the accept callback result,
and would not try to gracefully close the connection. This had not been
noticed, as it is not really required for DoH. Now the code tries to
shut down the TLS connection gracefully when accepting it is not
successful.
lib/isc/netmgr/tlsstream.c