shithub: riscv

Download patch

ref: d801a4f300c0e44d6cfdbc194d3eced008f9a7f4
parent: 9cb67a523ff08a41ff0025d117cbdd598c00e36a
author: cinap_lenrek <[email protected]>
date: Fri Mar 31 23:35:30 EDT 2017

ndb/dns: double Maxretries for long cname redirection chains

--- a/sys/src/cmd/ndb/dnresolve.c
+++ b/sys/src/cmd/ndb/dnresolve.c
@@ -26,13 +26,8 @@
 	 * primarily for the benefit of remote nameservers querying us
 	 * during times of bad connectivity.
 	 */
-//	Maxtrans=	3,	/* maximum transmissions to a server */
-//	Maxretries=	3, /* cname+actual resends: was 32; have pity on user */
-//	Maxwaitms=	1000,	/* wait no longer for a remote dns query */
-//	Minwaitms=	100,	/* willing to wait for a remote dns query */
-
 	Maxtrans=	5,	/* maximum transmissions to a server */
-	Maxretries=	5, /* cname+actual resends: was 32; have pity on user */
+	Maxretries=	10,	/* cname+actual resends: was 32; have pity on user */
 	Maxwaitms=	5000,	/* wait no longer for a remote dns query */
 	Minwaitms=	500,	/* willing to wait for a remote dns query */
 };