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/01/18 22:37:00 UTC
[trafficserver] 01/01: Revert "Modify TSHttpTxnHookAdd to add hook
only once"
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch revert-1320-TS-5024
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
commit 833f176b60ca24a6c98d6019306b3cb93e705285
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Wed Jan 18 15:36:52 2017 -0700
Revert "Modify TSHttpTxnHookAdd to add hook only once"
---
proxy/InkAPI.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proxy/InkAPI.cc b/proxy/InkAPI.cc
index f7d2b61..79cf0c0 100644
--- a/proxy/InkAPI.cc
+++ b/proxy/InkAPI.cc
@@ -4612,7 +4612,7 @@ TSHttpTxnHookAdd(TSHttpTxn txnp, TSHttpHookID id, TSCont contp)
sdk_assert(sdk_sanity_check_continuation(contp) == TS_SUCCESS);
sdk_assert(sdk_sanity_check_hook_id(id) == TS_SUCCESS);
- HttpSM *sm = (HttpSM *)txnp;
+ HttpSM *sm = (HttpSM *)txnp;
APIHook *hook = sm->txn_hook_get(id);
// Traverse list of hooks and add a particular hook only once
--
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.