[TS-2631] header_rewrite to support new destinations in global plugin case
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/9f7afd8c Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/9f7afd8c Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/9f7afd8c Branch: refs/heads/master Commit: 9f7afd8c952121a53762ad966ff207cc27d055b9 Parents: cca8867 Author: Brian Geffon <[email protected]> Authored: Wed Mar 12 14:19:44 2014 -0700 Committer: Brian Geffon <[email protected]> Committed: Wed Mar 12 14:19:44 2014 -0700 ---------------------------------------------------------------------- plugins/header_rewrite/operators.cc | 2 -- 1 file changed, 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/9f7afd8c/plugins/header_rewrite/operators.cc ---------------------------------------------------------------------- diff --git a/plugins/header_rewrite/operators.cc b/plugins/header_rewrite/operators.cc index c1621ef..086a316 100644 --- a/plugins/header_rewrite/operators.cc +++ b/plugins/header_rewrite/operators.cc @@ -167,11 +167,9 @@ OperatorSetDestination::exec(const Resources& res) const TSMBuffer bufp; TSMLoc url_m_loc; if (res._rri) { - TSDebug(PLUGIN_NAME, "OperatorSetDestination::exec() using remap plugin TSMBuffer."); bufp = res._rri->requestBufp; url_m_loc = res._rri->requestUrl; } else { - TSDebug(PLUGIN_NAME, "OperatorSetDestination::exec() using global plugin TSMBuffer."); bufp = res.bufp; if (TSHttpHdrUrlGet(res.bufp, res.hdr_loc, &url_m_loc) != TS_SUCCESS) { TSDebug(PLUGIN_NAME, "TSHttpHdrUrlGet was unable to return the url m_loc");
