]> git.ipfire.org Git - thirdparty/bind9.git/commit
[master] Prevent dig INSIST failures and hangs in some failure modes
authorMichał Kępień <michal@isc.org>
Thu, 5 Oct 2017 07:42:31 +0000 (09:42 +0200)
committerMichał Kępień <michal@isc.org>
Thu, 5 Oct 2017 07:42:31 +0000 (09:42 +0200)
commit14afc8425b7e034b714ebff896a9b5aab9b0fe12
tree3e259040186e86c4c90998afb2f66220c7509b68
parentd7ee3ed48849225213583758090e2fe5a301fbf2
[master] Prevent dig INSIST failures and hangs in some failure modes

4756. [bug] Interrupting dig could lead to an INSIST failure after
certain errors were encountered while querying a host
whose name resolved to more than one address.  Change
4537 increased the odds of triggering this issue by
causing dig to hang indefinitely when certain error
paths were evaluated.  dig now also retries TCP queries
(once) if the server gracefully closes the connection
before sending a response. [RT #42832, #45159]
CHANGES
bin/dig/dighost.c
bin/dig/include/dig/dig.h