Updated Branches:
refs/heads/master 8dbf06bf3 -> eaaf88959
header_rewrite: remove RemapAPI-only restriction for PATH conditions
Segfault in PATH condition was already fixed in 236c52cf:
"TS-2316: header_rewrite: fixed segfaults in ConditionPath::append_value()"
Submitted by: Alexey Ivanov <[email protected]>
Sponsored by: LinkedIn
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/6f6f05c5
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/6f6f05c5
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/6f6f05c5
Branch: refs/heads/master
Commit: 6f6f05c5e826005cbd619d989746ebd27ebd19d9
Parents: 2b6a5f6
Author: Alexey Ivanov <[email protected]>
Authored: Tue Dec 3 19:28:51 2013 -0800
Committer: Alexey Ivanov <[email protected]>
Committed: Tue Dec 3 20:42:01 2013 -0800
----------------------------------------------------------------------
plugins/header_rewrite/conditions.cc | 4 ----
1 file changed, 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/6f6f05c5/plugins/header_rewrite/conditions.cc
----------------------------------------------------------------------
diff --git a/plugins/header_rewrite/conditions.cc
b/plugins/header_rewrite/conditions.cc
index 4ff38b6..46be14a 100644
--- a/plugins/header_rewrite/conditions.cc
+++ b/plugins/header_rewrite/conditions.cc
@@ -244,10 +244,6 @@ ConditionPath::eval(const Resources& res)
{
std::string s;
- if (NULL == res._rri) {
- TSDebug(PLUGIN_NAME, "PATH requires remap initialization! Evaluating to
false!");
- return false;
- }
append_value(s, res);
TSDebug(PLUGIN_NAME, "Evaluating PATH");