Skip to content

don't set DNS_DISPATCHSTATE_CONNECTED until attaching handle

Evan Hunt requested to merge 2963-gettcp-assert into main

there was a race possible in which a dispatch was put into the 'connected' state before it had a TCP handle attached, which could cause an assertion failure in dns_dispatch_gettcp().

Closes #2963 (closed)

Merge request reports