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 2016/10/14 17:26:10 UTC

[trafficserver] 02/08: TS-4888: Modified collapsed_forwarding plugin to return TSREMAP_NO_REMAP.

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

bcall pushed a commit to branch 7.0.x
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

commit dccf04d1f47b4696c3e41eb2f84a6864bd37e217
Author: rb304g <rb...@att.com>
AuthorDate: Fri Sep 23 17:56:37 2016 +0000

    TS-4888: Modified collapsed_forwarding plugin to return TSREMAP_NO_REMAP.
    
    (cherry picked from commit 86aa59447ae2cf8f331d2fc63e4a2758ca1f3c38)
---
 plugins/experimental/collapsed_forwarding/collapsed_forwarding.cc | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/plugins/experimental/collapsed_forwarding/collapsed_forwarding.cc b/plugins/experimental/collapsed_forwarding/collapsed_forwarding.cc
index 00c56de..fb2c5dc 100644
--- a/plugins/experimental/collapsed_forwarding/collapsed_forwarding.cc
+++ b/plugins/experimental/collapsed_forwarding/collapsed_forwarding.cc
@@ -309,5 +309,11 @@ TSRemapDoRemap(void *ih, TSHttpTxn rh, TSRemapRequestInfo *rri)
   TSHttpTxnHookAdd(rh, TS_HTTP_READ_RESPONSE_HDR_HOOK, cont);
   TSHttpTxnHookAdd(rh, TS_HTTP_OS_DNS_HOOK, cont);
 
-  return TSREMAP_DID_REMAP;
+  return TSREMAP_NO_REMAP;
+}
+
+void
+TSRemapDeleteInstance(void *ih)
+{
+  // To resolve run time error
 }

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