Skip to content

Fix dig error when trying the next server after a TCP connection failure

When encountering a TCP connection error while trying to initiate a connection to a server, dig erroneously cancels the lookup even when there are other server(s) to try, which results in an assertion failure.

Cancel the lookup only when there are no more queries left in the lookup's queries list (i.e. next is NULL).

Closes #3205 (closed)

Merge request reports