]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix DiG query retry and fail-over bug
authorAram Sargsyan <aram@isc.org>
Wed, 15 Jun 2022 12:58:00 +0000 (12:58 +0000)
committerAram Sargsyan <aram@isc.org>
Fri, 22 Jul 2022 09:00:15 +0000 (09:00 +0000)
commit6efb73d4bbceba38443a92daa6d0e84193a634db
tree6ace542a1c13ee4da99dbb63b583e4794aef461f
parentbe8ec6ef183fae7223a9f0f9cb8b9283bca5ab6f
Fix DiG query retry and fail-over bug

When the `send_done()` callback function gets called with a failure
result code, DiG erroneously cancels the lookup.

Stop canceling the lookup and give DiG a chance to retry the failed
query, or fail-over to another server, using the logic implemented in
the `recv_done()` callback function.

(cherry picked from commit c2329dd110e88a194be4d9a3fe1571dbae8af178)
bin/dig/dighost.c