dig: return a non-zero exit code for failed TCP EOF retries
dig retries a TCP query when a server closes the connection prematurely. However, dig's exit code remains unaffected even if the second attempt to get a response also fails with the same error for the same lookup, which should not be the case. Ensure the exit code is updated appropriately when a retry triggered by a TCP EOF condition fails.
This commit is contained in:
@@ -493,6 +493,7 @@
|
||||
./bin/tests/system/dialup/tests.sh SH 2000,2001,2004,2007,2012,2016,2018,2019
|
||||
./bin/tests/system/digcomp.pl PERL 2000,2001,2004,2007,2012,2013,2016,2018,2019
|
||||
./bin/tests/system/digdelv/ans4/startme X 2017,2018,2019
|
||||
./bin/tests/system/digdelv/ans5/ans.pl PERL 2019
|
||||
./bin/tests/system/digdelv/clean.sh SH 2015,2016,2018,2019
|
||||
./bin/tests/system/digdelv/ns2/sign.sh SH 2018,2019
|
||||
./bin/tests/system/digdelv/prereq.sh SH 2018,2019
|
||||
|
||||
Reference in New Issue
Block a user