trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject trafficserver git commit: TS-3682: change default for proxy.config.admin.api.restricted to '0'
Date Wed, 10 Jun 2015 16:45:05 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master fa535ceef -> da0bd30b3


TS-3682: change default for proxy.config.admin.api.restricted to '0'


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

Branch: refs/heads/master
Commit: da0bd30b3eef87b3c3276b7b6c167d165bf659dc
Parents: fa535ce
Author: James Peach <jpeach@apache.org>
Authored: Wed Jun 10 09:44:12 2015 -0700
Committer: James Peach <jpeach@apache.org>
Committed: Wed Jun 10 09:44:39 2015 -0700

----------------------------------------------------------------------
 CHANGES                                           | 2 ++
 doc/reference/configuration/records.config.en.rst | 7 +------
 mgmt/RecordsConfig.cc                             | 2 +-
 3 files changed, 4 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/da0bd30b/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 3cf8481..285a3c1 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 6.0.0
 
+  *) [TS-3682] Change default for proxy.config.admin.api.restricted to '0'.
+
   *) [TS-3659] Add config to limit max number of websocket connections
 
   *) [TS-3462] Reduce the HostDB lookup timeout to 30s.

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/da0bd30b/doc/reference/configuration/records.config.en.rst
----------------------------------------------------------------------
diff --git a/doc/reference/configuration/records.config.en.rst b/doc/reference/configuration/records.config.en.rst
index de695b0..3d7f74f 100644
--- a/doc/reference/configuration/records.config.en.rst
+++ b/doc/reference/configuration/records.config.en.rst
@@ -443,7 +443,7 @@ bypass that restriction
 * Specify ``-DBIG_SECURITY_HOLE`` in ``CXXFLAGS`` during compilation.
 * Set the ``user_id=#-1`` and start trafficserver as root.
 
-.. ts:cv:: CONFIG proxy.config.admin.api.restricted INT 1
+.. ts:cv:: CONFIG proxy.config.admin.api.restricted INT 0
 
 This setting specifies whether the management API should be restricted
 to root processes. If this is set to ``0``, then on platforms that
@@ -455,11 +455,6 @@ will still be restricted to root processes.
 This setting is not reloadable, since it is must be applied when
 program:`traffic_manager` initializes.
 
-.. note::
-
-  In Traffic Server 6.0, the default value of
-  :ts:cv:`proxy.config.admin.api.restricted` will be changed to ``0``.
-
 Process Manager
 ===============
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/da0bd30b/mgmt/RecordsConfig.cc
----------------------------------------------------------------------
diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc
index 48a5557..4ff9cec 100644
--- a/mgmt/RecordsConfig.cc
+++ b/mgmt/RecordsConfig.cc
@@ -268,7 +268,7 @@ static const RecordElement RecordsConfig[] =
   ,
   {RECT_CONFIG, "proxy.config.admin.cli_path", RECD_STRING, "cli", RECU_NULL, RR_NULL, RECC_NULL,
NULL, RECA_NULL}
   ,
-  {RECT_CONFIG, "proxy.config.admin.api.restricted", RECD_INT, "1", RECU_RESTART_TM, RR_NULL,
RECC_INT, "[0-1]", RECA_NULL}
+  {RECT_CONFIG, "proxy.config.admin.api.restricted", RECD_INT, "0", RECU_RESTART_TM, RR_NULL,
RECC_INT, "[0-1]", RECA_NULL}
   ,
 
   //##############################################################################


Mime
View raw message