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/07/19 14:19:26 UTC

[trafficserver] branch master updated: Plugin collapsed_connection - add TSMutexCreate() when calling TSContCreate().

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 99a42d3  Plugin collapsed_connection - add TSMutexCreate() when calling TSContCreate().
99a42d3 is described below

commit 99a42d3dea6a23eda74778edb81eb6e8778d77db
Author: Peter Chou <pb...@labs.att.com>
AuthorDate: Wed Jun 28 15:58:41 2017 -0700

    Plugin collapsed_connection - add TSMutexCreate() when calling TSContCreate().
---
 plugins/experimental/collapsed_connection/collapsed_connection.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/experimental/collapsed_connection/collapsed_connection.cc b/plugins/experimental/collapsed_connection/collapsed_connection.cc
index eb3b928..9f59291 100644
--- a/plugins/experimental/collapsed_connection/collapsed_connection.cc
+++ b/plugins/experimental/collapsed_connection/collapsed_connection.cc
@@ -651,7 +651,7 @@ retryCacheUrlLock(TSCont contp, TSEvent /* event ATS_UNUSED */, void * /* edata
 static void
 addMutexRetry(CcTxnData *txn_data, TSEvent event, TSHRTime timeout)
 {
-  TSCont contp      = TSContCreate(retryCacheUrlLock, nullptr);
+  TSCont contp      = TSContCreate(retryCacheUrlLock, TSMutexCreate());
   TryLockData *data = static_cast<TryLockData *>(TSmalloc(sizeof(TryLockData)));
 
   data->event    = event;

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