]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix isc_nm_httpconnect to check for shuttindown condition
authorOndřej Surý <ondrej@isc.org>
Tue, 28 Mar 2023 07:40:59 +0000 (09:40 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 29 Mar 2023 06:27:05 +0000 (08:27 +0200)
commit3e9bce0a7a07be342ec024eb51f0f8ca11d605f1
tree5aeadd87df39b68e20a7308e7bc2fba5c19e6003
parent824378d87686b691007b4a4204ae49cf17f69644
Fix isc_nm_httpconnect to check for shuttindown condition

The isc_nm_httpconnect() would succeed even if the netmgr would be
already shuttingdown.  This has been fixed and the unit test has been
updated to cope with fact that the handle would be NULL when
isc_nm_httpconnect() returns with an error.

(cherry picked from commit 665f8bb78d1439f18ff6e5e3ebef8728a4985f45)
tests/isc/doh_test.c