This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] resolv: Raise maximum retries
- From: Paul Stewart <pstew at chromium dot org>
- To: libc-alpha at sourceware dot org
- Cc: vapier at chromium dot org, eggert at cs dot ucla dot edu
- Date: Wed, 27 Jun 2012 17:31:51 -0700
- Subject: [PATCH] resolv: Raise maximum retries
With the resolver now having the ability to do sub-second
retries, it may be necessary to have a higher retry count
to cover a desired time interval of retries.
---
resolv/resolv.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/resolv/resolv.h b/resolv/resolv.h
index f09754a..3e49b99 100644
--- a/resolv/resolv.h
+++ b/resolv/resolv.h
@@ -97,7 +97,7 @@ typedef res_sendhookact (*res_send_rhook) (const struct sockaddr_in *__ns,
# define MAXRESOLVSORT 10 /* number of net to sort on */
# define RES_MAXNDOTS 15 /* should reflect bit field size */
# define RES_MAXRETRANS 30 /* only for resolv.conf/RES_OPTIONS */
-# define RES_MAXRETRY 5 /* only for resolv.conf/RES_OPTIONS */
+# define RES_MAXRETRY 15 /* only for resolv.conf/RES_OPTIONS */
# define RES_DFLRETRY 2 /* Default #/tries. */
# define RES_MAXTIME 65535 /* Infinity, in milliseconds. */
--
1.7.7.3