You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2015/05/12 19:21:25 UTC

trafficserver git commit: TS-2609: Header rewrite plugin added *URL:HOST condition Removed code for testing and was tripping on coverity scan

Repository: trafficserver
Updated Branches:
  refs/heads/master a48c1c431 -> c66e71cb5


TS-2609: Header rewrite plugin added *URL:HOST condition
Removed code for testing and was tripping on coverity scan


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

Branch: refs/heads/master
Commit: c66e71cb5f1ed06de4aa09e73cf92f2f1c7950ac
Parents: a48c1c4
Author: Bryan Call <bc...@apache.org>
Authored: Tue May 12 10:20:39 2015 -0700
Committer: Bryan Call <bc...@apache.org>
Committed: Tue May 12 10:20:39 2015 -0700

----------------------------------------------------------------------
 plugins/header_rewrite/conditions.cc | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c66e71cb/plugins/header_rewrite/conditions.cc
----------------------------------------------------------------------
diff --git a/plugins/header_rewrite/conditions.cc b/plugins/header_rewrite/conditions.cc
index a031b1e..ada2f9a 100644
--- a/plugins/header_rewrite/conditions.cc
+++ b/plugins/header_rewrite/conditions.cc
@@ -379,10 +379,6 @@ ConditionUrl::eval(const Resources &res)
       // res._rri->requestBufp and res.client_bufp are the same if it is at the remap hook
       TSDebug(PLUGIN_NAME, "   Using the request url");
       url = res._rri->requestUrl;
-      TSMLoc tmp_url = NULL;
-      TSHttpHdrUrlGet(res.client_bufp, res.client_hdr_loc, &tmp_url);
-      assert(tmp_url == url);
-      TSDebug(PLUGIN_NAME, "url %p tmp_url: %p", url, tmp_url);
     } else if (_type == FROM) {
       TSDebug(PLUGIN_NAME, "   Using the from url");
       url = res._rri->mapFromUrl;