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/13 18:24:09 UTC
trafficserver git commit: TS-2609: Header rewrite plugin added
*URL:HOST condition Fixed more coverity issues
Repository: trafficserver
Updated Branches:
refs/heads/master 5260c4a3a -> c6cabce65
TS-2609: Header rewrite plugin added *URL:HOST condition
Fixed more coverity issues
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/c6cabce6
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/c6cabce6
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/c6cabce6
Branch: refs/heads/master
Commit: c6cabce65a8b375b442f69ddf68c7c0c1ae346fb
Parents: 5260c4a
Author: Bryan Call <bc...@apache.org>
Authored: Wed May 13 09:23:48 2015 -0700
Committer: Bryan Call <bc...@apache.org>
Committed: Wed May 13 09:23:48 2015 -0700
----------------------------------------------------------------------
plugins/header_rewrite/conditions.cc | 2 --
plugins/header_rewrite/matcher.h | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c6cabce6/plugins/header_rewrite/conditions.cc
----------------------------------------------------------------------
diff --git a/plugins/header_rewrite/conditions.cc b/plugins/header_rewrite/conditions.cc
index ada2f9a..5c9756e 100644
--- a/plugins/header_rewrite/conditions.cc
+++ b/plugins/header_rewrite/conditions.cc
@@ -370,8 +370,6 @@ ConditionUrl::eval(const Resources &res)
TSMBuffer bufp = NULL;
std::string s;
- TSDebug(PLUGIN_NAME, "res.bufp %p res.client_bufp: %p res._rri->requestBufp: %p", res.bufp, res.client_bufp,
- res._rri->requestBufp);
if (res._rri != NULL) {
// called at the remap hook
bufp = res._rri->requestBufp;
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c6cabce6/plugins/header_rewrite/matcher.h
----------------------------------------------------------------------
diff --git a/plugins/header_rewrite/matcher.h b/plugins/header_rewrite/matcher.h
index cf4d12d..823131f 100644
--- a/plugins/header_rewrite/matcher.h
+++ b/plugins/header_rewrite/matcher.h
@@ -83,7 +83,7 @@ private:
template <class T> class Matchers : public Matcher
{
public:
- explicit Matchers<T>(const MatcherOps op) : Matcher(op) {}
+ explicit Matchers<T>(const MatcherOps op) : Matcher(op), _data() {}
// Getters / setters
const T