bind9/lib
Evan Hunt 7903bffbc4 remove unnecessary assertion in dns_dispatch_connect()
When a thread calls dns_dispatch_connect() on an unconnected TCP socket
it sets `tcpstate` from `DNS_DISPATCHSTATE_NONE` to `_CONNECTING`.
Previously, it then INSISTed that there were no pending connections
before calling isc_nm_tcpdnsconnect().

If a second thread called dns_dispatch_connect() during that window
of time, it could add a pending connection to the list, and trigger
an assertion failure.

This commit removes the INSIST since the condition is actually
harmless.

(cherry picked from commit 25ddec8a0a8e0549b69f4e601028f3323d3c1886)
2022-07-14 19:27:24 -07:00
..
bind9 prevent a possible buffer overflow in configuration check 2022-05-13 20:29:36 -07:00
dns remove unnecessary assertion in dns_dispatch_connect() 2022-07-14 19:27:24 -07:00
irs Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
isc Cleanup the STATID_CONNECT and STATID_CONNECTFAIL stat counters 2022-07-14 21:48:44 +02:00
isccc Update clang to version 14 2022-06-16 18:09:33 +02:00
isccfg Add isccfg duration utility functions 2022-06-28 14:37:26 +02:00
ns log the reason for falling back to AXFR from IXFR at level info 2022-07-12 16:26:13 -07: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