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/06/20 00:16:20 UTC
trafficserver git commit: TS-3546: For global plugin registration
with TSPluginRegister API and remove version information Fixed problem with
info not being defined in custom_redirect
Repository: trafficserver
Updated Branches:
refs/heads/master a68557a84 -> 8b4930e3b
TS-3546: For global plugin registration with TSPluginRegister API and remove version information
Fixed problem with info not being defined in custom_redirect
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/8b4930e3
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/8b4930e3
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/8b4930e3
Branch: refs/heads/master
Commit: 8b4930e3bd5bd8a11819500b3cc5a3db9cc95d57
Parents: a68557a
Author: Bryan Call <bc...@apache.org>
Authored: Fri Jun 19 15:14:45 2015 -0700
Committer: Bryan Call <bc...@apache.org>
Committed: Fri Jun 19 15:14:45 2015 -0700
----------------------------------------------------------------------
plugins/experimental/custom_redirect/custom_redirect.cc | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/8b4930e3/plugins/experimental/custom_redirect/custom_redirect.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/custom_redirect/custom_redirect.cc b/plugins/experimental/custom_redirect/custom_redirect.cc
index 78bd9f9..7f657d2 100644
--- a/plugins/experimental/custom_redirect/custom_redirect.cc
+++ b/plugins/experimental/custom_redirect/custom_redirect.cc
@@ -123,13 +123,11 @@ isNumber(const char *str)
void
TSPluginInit(int argc, const char *argv[])
{
- // TSPluginRegistrationInfo info;
+ TSPluginRegistrationInfo info;
- /*
- info.plugin_name = (char*)"";
- info.vendor_name = (char*)"Apache Software Foundation";
- info.support_email = (char*)"dev@trafficserver.apache.org";
- */
+ info.plugin_name = (char*)"";
+ info.vendor_name = (char*)"Apache Software Foundation";
+ info.support_email = (char*)"dev@trafficserver.apache.org";
/* This plugin supports following types of url redirect here:
*
* 1. User can specify a particular redirect-url header name in the plugin command line,