You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by br...@apache.org on 2016/05/10 00:03:06 UTC
[trafficserver] branch master updated: TS-4431: ATSCPPAPI needs a
mutex for intercept plugins
This is an automated email from the ASF dual-hosted git repository.
briang pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new d363b83 TS-4431: ATSCPPAPI needs a mutex for intercept plugins
d363b83 is described below
commit d363b83410e2a2790af03201b0cd6ab8a507769c
Author: Brian Geffon <br...@apache.org>
AuthorDate: Mon May 9 01:56:54 2016 -0700
TS-4431: ATSCPPAPI needs a mutex for intercept plugins
---
lib/atscppapi/src/InterceptPlugin.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/atscppapi/src/InterceptPlugin.cc b/lib/atscppapi/src/InterceptPlugin.cc
index d51164a..a55e2ef 100644
--- a/lib/atscppapi/src/InterceptPlugin.cc
+++ b/lib/atscppapi/src/InterceptPlugin.cc
@@ -121,7 +121,7 @@ void destroyCont(InterceptPlugin::State *state);
InterceptPlugin::InterceptPlugin(Transaction &transaction, InterceptPlugin::Type type) : TransactionPlugin(transaction)
{
- TSCont cont = TSContCreate(handleEvents, NULL);
+ TSCont cont = TSContCreate(handleEvents, TSMutexCreate());
state_ = new State(cont, this);
TSContDataSet(cont, state_);
TSHttpTxn txn = static_cast<TSHttpTxn>(transaction.getAtsHandle());
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].