You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2013/09/24 21:33:54 UTC

[3/3] git commit: TS-2217: remove the option to turn off body factory - setting it to 0 will result in empty responses

TS-2217: remove the option to turn off body factory - setting it to 0
will result in empty responses

Conflicts:
	CHANGES


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

Branch: refs/heads/4.0.x
Commit: b1d6a80d66dd848839deb95e2d5a0cae8e62adae
Parents: dc324a8
Author: Bryan Call <bc...@apache.org>
Authored: Thu Sep 12 17:03:07 2013 -0700
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Tue Sep 24 13:24:20 2013 -0600

----------------------------------------------------------------------
 CHANGES               | 3 +++
 mgmt/RecordsConfig.cc | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/b1d6a80d/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index a227f72..2eb97a8 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 4.0.2
 
+  *) [TS-2217] remove the option to turn off body factory - setting it to 0 will
+   result in empty responses
+
   *) [TS-2191] not reschedule http_sm when the sm_list`s lock is not acquired.
 
   *) [TS-2174] traffic_shell/traffic_line miss some stats value

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/b1d6a80d/mgmt/RecordsConfig.cc
----------------------------------------------------------------------
diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc
index bf4b9ee..49d6da5 100644
--- a/mgmt/RecordsConfig.cc
+++ b/mgmt/RecordsConfig.cc
@@ -702,10 +702,10 @@ RecordElement RecordsConfig[] = {
   //# Customizable User Response Pages
   //#
   //##############################################################################
-  //# 0 - turn off customizable user response pages
   //# 1 - enable customizable user response pages in only the "default" directory
   //# 2 - enable language-targeted user response pages
-  {RECT_CONFIG, "proxy.config.body_factory.enable_customizations", RECD_INT, "1", RECU_RESTART_TS, RR_NULL, RECC_INT, "[0-2]", RECA_NULL}
+  {RECT_CONFIG, "proxy.config.body_factory.enable_customizations", RECD_INT, "1", RECU_RESTART_TS, RR_NULL, RECC_INT,
+    "[1-2]", RECA_NULL}
   ,
   {RECT_CONFIG, "proxy.config.body_factory.enable_logging", RECD_INT, "0", RECU_RESTART_TS, RR_NULL, RECC_INT, "[0-1]", RECA_NULL}
   ,