]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2433. [tuning] Set initial timeout to 800ms.
authorMark Andrews <marka@isc.org>
Thu, 4 Sep 2008 04:56:52 +0000 (04:56 +0000)
committerMark Andrews <marka@isc.org>
Thu, 4 Sep 2008 04:56:52 +0000 (04:56 +0000)
CHANGES
lib/dns/resolver.c

diff --git a/CHANGES b/CHANGES
index 342d13638b3315df42624a1d8facfa818d73cd5a..2fb68ad87dd1d9cf18fca53abda5b4f9e1dcf8a8 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+2433.  [tuning]        Set initial timeout to 800ms.
+
 2430.  [bug]           win32: isc_interval_set() could round down to
                        zero if the input was less than NS_INTERVAL
                        nanoseconds.  Round up instead. [RT #18549]
 2399.  [bug]           Abort timeout queries to reduce the number of open
                        UDP sockets. [RT #18367]
 
+       [bug]           Improve file descriptor management.  New,
+                       temporary, named.conf option reserved-sockets,
+                       default 512. [RT #18344]
+
 2396.  [bug]           Don't set SO_REUSEADDR for randomized ports.
                        [RT #18336]
 
index 79f4b552fb1d4fee08dcdadea63cb96e25cdc1d1..de21f8a354fb57fb4633402a5453201dbb0afb65 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: resolver.c,v 1.284.18.77 2008/07/24 04:59:00 jinmei Exp $ */
+/* $Id: resolver.c,v 1.284.18.78 2008/09/04 04:56:52 marka Exp $ */
 
 /*! \file */
 
@@ -1049,9 +1049,9 @@ fctx_setretryinterval(fetchctx_t *fctx, unsigned int rtt) {
         * list, and then we do exponential back-off.
         */
        if (fctx->restarts < 3)
-               us = 500000;
+               us = 800000;
        else
-               us = (500000 << (fctx->restarts - 2));
+               us = (800000 << (fctx->restarts - 2));
 
        /*
         * Double the round-trip time.