This is an automated email from the ASF dual-hosted git repository. sorber pushed a commit to branch 6.2.x in repository https://git-dual.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/6.2.x by this push: new 0b1f28b Fix Assertion failure in the regex_revalidate plugin. 0b1f28b is described below commit 0b1f28b53174baf5cfff54a2d224ffbe09a64374 Author: John J. Rushford <jrushf...@apache.org> AuthorDate: Wed Feb 1 20:34:44 2017 +0000 Fix Assertion failure in the regex_revalidate plugin. Since TS-4387, Calls to TSContSchedule/TSContScheduleEvery(), require that the continuation associated with the TSCont parameter must have a mutex. --- plugins/experimental/regex_revalidate/regex_revalidate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/experimental/regex_revalidate/regex_revalidate.c b/plugins/experimental/regex_revalidate/regex_revalidate.c index 0ff10ff..658f15a 100644 --- a/plugins/experimental/regex_revalidate/regex_revalidate.c +++ b/plugins/experimental/regex_revalidate/regex_revalidate.c @@ -348,7 +348,7 @@ config_handler(TSCont cont, TSEvent event ATS_UNUSED, void *edata ATS_UNUSED) iptr = __sync_val_compare_and_swap(&(pstate->invalidate_list), pstate->invalidate_list, i); if (iptr) { - free_cont = TSContCreate(free_handler, NULL); + free_cont = TSContCreate(free_handler, TSMutexCreate()); TSContDataSet(free_cont, (void *)iptr); TSContSchedule(free_cont, FREE_TMOUT, TS_THREAD_POOL_TASK); } -- To stop receiving notification emails like this one, please contact ['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].