This is an automated email from the ASF dual-hosted git repository.
amc 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 d846436 adding a Mutex to the continuation
d846436 is described below
commit d846436ab22ea8c0283bd7656d2305974e79f8d1
Author: dmorilha <[email protected]>
AuthorDate: Fri Aug 10 08:40:38 2018 -0700
adding a Mutex to the continuation
---
plugins/stats_over_http/stats_over_http.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/stats_over_http/stats_over_http.c
b/plugins/stats_over_http/stats_over_http.c
index 72d4675..90356f2 100644
--- a/plugins/stats_over_http/stats_over_http.c
+++ b/plugins/stats_over_http/stats_over_http.c
@@ -329,6 +329,6 @@ init:
/* Create a continuation with a mutex as there is a shared global structure
containing the headers to add */
- TSHttpHookAdd(TS_HTTP_READ_REQUEST_HDR_HOOK, TSContCreate(stats_origin,
NULL));
+ TSHttpHookAdd(TS_HTTP_READ_REQUEST_HDR_HOOK, TSContCreate(stats_origin,
TSMutexCreate()));
TSDebug(PLUGIN_NAME, "stats module registered");
}