You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2017/12/01 23:19:28 UTC

[trafficserver] branch 7.1.x updated: Deprecates the coallapsed_connection plugin, use collapsed_forwarding instead

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 7.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/7.1.x by this push:
     new 201bd6c  Deprecates the coallapsed_connection plugin, use collapsed_forwarding instead
201bd6c is described below

commit 201bd6c92b476c99b00aad52bcbcbbb73e8ab842
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Fri Dec 1 11:17:54 2017 -0700

    Deprecates the coallapsed_connection plugin, use collapsed_forwarding instead
    
    (cherry picked from commit 4c47ab1213a908f4d1547e054f8317a2ada5fd0a)
---
 plugins/experimental/collapsed_connection/README                  | 4 ++++
 plugins/experimental/collapsed_connection/collapsed_connection.cc | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/plugins/experimental/collapsed_connection/README b/plugins/experimental/collapsed_connection/README
index 1eed602..8da57df 100644
--- a/plugins/experimental/collapsed_connection/README
+++ b/plugins/experimental/collapsed_connection/README
@@ -1,3 +1,7 @@
+NOTE: This plugin is deprecated as of ATS v7.x. Instead, look at the new
+``collapsed_forwardin'' plugin instead!
+
+
 ATS (Apache Traffic Server) Collapsed Connection Handling Plugin
 ------------------------------------------------------------------------------
 
diff --git a/plugins/experimental/collapsed_connection/collapsed_connection.cc b/plugins/experimental/collapsed_connection/collapsed_connection.cc
index eb3b928..fd5c822 100644
--- a/plugins/experimental/collapsed_connection/collapsed_connection.cc
+++ b/plugins/experimental/collapsed_connection/collapsed_connection.cc
@@ -1120,6 +1120,8 @@ TSPluginInit(int argc, const char *argv[])
   info.vendor_name   = const_cast<char *>(PLUGIN_VENDOR);
   info.support_email = const_cast<char *>(PLUGIN_SUPPORT);
 
+  TSError("[collapsed_connection] This plugin is deprecated as of ATS v7.1, use collapsed_forwarding instead!");
+
   if (TS_SUCCESS != TSPluginRegister(&info)) {
     TSError("[collapsed_connection] Plugin registration failed");
     return;

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].