Files
bind9/lib/dns
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 25ddec8a0a)
2022-07-14 19:27:24 -07:00
..
2022-07-05 13:04:17 -07:00
2022-06-09 10:52:04 +00:00
2022-06-28 14:36:53 +02:00
2022-07-06 11:25:20 +10:00
2022-07-14 10:21:38 +10:00