Browse Source

[2911] changed the default policy of request_ixfr to 'yes'.

it should now be safe as we (have already) support fallback and use AXFR
initially.
JINMEI Tatuya 12 years ago
parent
commit
8c0de3883e
2 changed files with 2 additions and 3 deletions
  1. 1 2
      src/bin/xfrin/tests/xfrin_test.py
  2. 1 1
      src/bin/xfrin/xfrin.spec

+ 1 - 2
src/bin/xfrin/tests/xfrin_test.py

@@ -2756,8 +2756,7 @@ class TestXfrin(unittest.TestCase):
                 elif cfg_val == 'only':
                     self.assertEqual(ZoneInfo.REQUEST_IXFR_ONLY, val)
             else:               # check the default
-                #self.assertEqual(ZoneInfo.REQUEST_IXFR_FIRST,
-                self.assertEqual(ZoneInfo.REQUEST_IXFR_DISABLED,
+                self.assertEqual(ZoneInfo.REQUEST_IXFR_FIRST,
                                  zone_info.request_ixfr)
 
     def test_config_handler_zones(self):

+ 1 - 1
src/bin/xfrin/xfrin.spec

@@ -52,7 +52,7 @@
           { "item_name": "request_ixfr",
             "item_type": "string",
             "item_optional": false,
-            "item_default": "no"
+            "item_default": "yes"
           }
           ]
         }