Skip to content

[9.18] Fix xfrin_connect_done() error paths

The xfrin_connect_done() had several problems:

  • it would not add the server to unreachable table in case of the failure coming from the dispatch [GL #3989 (closed)]

  • if dns_dispatch_checkperm() disallowed the connection, the xfr would be left undetached

  • if xfrin_send_request() failed to send the request, the xfr would be left undetached

All of these have been fixed in this commit.

(cherry picked from commit 536e439c)

Closes #3989 (closed)

Backport of MR!7774

Edited by Ondřej Surý

Merge request reports