You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zy...@apache.org on 2014/04/13 16:31:33 UTC

[1/2] git commit: value filter is always a good idea in RecordsConfig

Repository: trafficserver
Updated Branches:
  refs/heads/master f4aa7b220 -> 559ca5deb


value filter is always a good idea in RecordsConfig


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/bff513d9
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/bff513d9
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/bff513d9

Branch: refs/heads/master
Commit: bff513d930f8b1b5354627455efde4e6fb94af9d
Parents: f4aa7b2
Author: Zhao Yongming <mi...@gmail.com>
Authored: Fri Apr 4 14:47:06 2014 +0800
Committer: Zhao Yongming <mi...@gmail.com>
Committed: Sun Apr 13 22:28:48 2014 +0800

----------------------------------------------------------------------
 mgmt/RecordsConfig.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/bff513d9/mgmt/RecordsConfig.cc
----------------------------------------------------------------------
diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc
index 3621399..9e45111 100644
--- a/mgmt/RecordsConfig.cc
+++ b/mgmt/RecordsConfig.cc
@@ -985,7 +985,7 @@ RecordElement RecordsConfig[] = {
   //# HostDB
   //#
   //##############################################################################
-  {RECT_CONFIG, "proxy.config.hostdb", RECD_INT, "1", RECU_DYNAMIC, RR_NULL, RECC_NULL, NULL, RECA_NULL}
+  {RECT_CONFIG, "proxy.config.hostdb", RECD_INT, "1", RECU_DYNAMIC, RR_NULL, RECC_NULL, "[0-1]", RECA_NULL}
   ,
   //       # up to 511 characters, may not be changed while running
   {RECT_CONFIG, "proxy.config.hostdb.filename", RECD_STRING, "host.db", RECU_DYNAMIC, RR_NULL, RECC_NULL, NULL, RECA_NULL}
@@ -999,7 +999,7 @@ RecordElement RecordsConfig[] = {
   ,
   //       # in minutes (all three)
   //       #  0 = obey, 1 = ignore, 2 = min(X,ttl), 3 = max(X,ttl)
-  {RECT_CONFIG, "proxy.config.hostdb.ttl_mode", RECD_INT, "0", RECU_DYNAMIC, RR_NULL, RECC_NULL, NULL, RECA_NULL}
+  {RECT_CONFIG, "proxy.config.hostdb.ttl_mode", RECD_INT, "0", RECU_DYNAMIC, RR_NULL, RECC_NULL, "[0-3]", RECA_NULL}
   ,
   {RECT_CONFIG, "proxy.config.hostdb.lookup_timeout", RECD_INT, "120", RECU_DYNAMIC, RR_NULL, RECC_STR, "^[0-9]+$", RECA_NULL}
   ,


[2/2] git commit: ICP fixed, remove the broken note in records.config

Posted by zy...@apache.org.
ICP fixed, remove the broken note in records.config


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/559ca5de
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/559ca5de
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/559ca5de

Branch: refs/heads/master
Commit: 559ca5debfdfdd2f005a8241340a7e8166d3a570
Parents: bff513d
Author: Zhao Yongming <mi...@gmail.com>
Authored: Sun Apr 13 22:28:23 2014 +0800
Committer: Zhao Yongming <mi...@gmail.com>
Committed: Sun Apr 13 22:30:07 2014 +0800

----------------------------------------------------------------------
 proxy/config/records.config.default.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/559ca5de/proxy/config/records.config.default.in
----------------------------------------------------------------------
diff --git a/proxy/config/records.config.default.in b/proxy/config/records.config.default.in
index 98f29a8..8086e09 100644
--- a/proxy/config/records.config.default.in
+++ b/proxy/config/records.config.default.in
@@ -540,7 +540,7 @@ CONFIG proxy.config.ssl.client.CA.cert.filename STRING NULL
 CONFIG proxy.config.ssl.client.CA.cert.path STRING @rel_sysconfdir@
 ##############################################################################
 #
-# ICP Configuration. NOTE! ICP is currently broken NOTE!
+# ICP Configuration.
 #
 ##############################################################################
    # icp modes