Revert "[TS-2631] Improve HeaderRewrite set-destination: using Condition 
operator instead of hard coded strings"

This reverts commit 0f6e5c99cc6a3d1dc2cc2131b4e8b27f0ad8b381.


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

Branch: refs/heads/master
Commit: f9b6c350186780b3271d35794a3cbec570c9f4fe
Parents: 0f6e5c9
Author: Brian Geffon <[email protected]>
Authored: Wed Mar 12 15:55:59 2014 -0700
Committer: Brian Geffon <[email protected]>
Committed: Wed Mar 12 15:55:59 2014 -0700

----------------------------------------------------------------------
 plugins/header_rewrite/operators.cc | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/f9b6c350/plugins/header_rewrite/operators.cc
----------------------------------------------------------------------
diff --git a/plugins/header_rewrite/operators.cc 
b/plugins/header_rewrite/operators.cc
index 4bdcdc1..6d062dd 100644
--- a/plugins/header_rewrite/operators.cc
+++ b/plugins/header_rewrite/operators.cc
@@ -370,6 +370,9 @@ OperatorSkipRemap::initialize(Parser& p)
 {
   Operator::initialize(p);
 
+  if (p.get_arg() == "1" || p.get_arg() == "true") {
+    _skip_remap = true;
+  }
 }
 
 void

Reply via email to