trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject trafficserver git commit: TS-3546: For global plugin registration with TSPluginRegister API and remove version information Fixed problem with where to call Fatal when a plugin didn't register
Date Sat, 20 Jun 2015 03:18:58 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master f00c51022 -> 5ee9b92c3


TS-3546: For global plugin registration with TSPluginRegister API and remove version information
Fixed problem with where to call Fatal when a plugin didn't register


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

Branch: refs/heads/master
Commit: 5ee9b92c34810ef442fbc34666e080a0f1a05fec
Parents: f00c510
Author: Bryan Call <bcall@apache.org>
Authored: Fri Jun 19 20:18:14 2015 -0700
Committer: Bryan Call <bcall@apache.org>
Committed: Fri Jun 19 20:18:14 2015 -0700

----------------------------------------------------------------------
 plugins/tcpinfo/tcpinfo.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/5ee9b92c/plugins/tcpinfo/tcpinfo.cc
----------------------------------------------------------------------
diff --git a/plugins/tcpinfo/tcpinfo.cc b/plugins/tcpinfo/tcpinfo.cc
index b1975cc..6fc95f4 100644
--- a/plugins/tcpinfo/tcpinfo.cc
+++ b/plugins/tcpinfo/tcpinfo.cc
@@ -320,9 +320,9 @@ TSPluginInit(int argc, const char *argv[])
   info.vendor_name = (char *)"Apache Software Foundation";
   info.support_email = (char *)"dev@trafficserver.apache.org";
 
-  if (TSPluginRegister(&info) != TS_SUCCESS) {
-    TSError("[tcpinfo] plugin registration failed");
-  }
+//  if (TSPluginRegister(&info) != TS_SUCCESS) {
+//    TSError("[tcpinfo] plugin registration failed");
+//  }
 
   optind = 0;
   for (;;) {


Mime
View raw message