This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]