You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2016/05/19 20:47:19 UTC
[trafficserver] branch master updated: TS-4462: Clean up
pending_action for TSHttpSchedule. This close #649.
This is an automated email from the ASF dual-hosted git repository.
amc 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 05e4577 TS-4462: Clean up pending_action for TSHttpSchedule. This close #649.
05e4577 is described below
commit 05e4577efa0ac7810e25710848f5597be4042c13
Author: Alan M. Carroll <so...@yahoo-inc.com>
AuthorDate: Thu May 19 13:03:15 2016 -0500
TS-4462: Clean up pending_action for TSHttpSchedule.
This close #649.
---
proxy/http/HttpSM.cc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index 2ec1d15..64d3952 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -7816,6 +7816,8 @@ HttpSM::get_http_schedule(int event, void * /* data ATS_UNUSED */)
ink_assert(pending_action == NULL);
pending_action = mutex->thread_holding->schedule_in(this, HRTIME_MSECONDS(10));
return 0;
+ } else {
+ pending_action = NULL; // if there was a pending action, it'll get freed after this returns so clear it.
}
} else {
plugin_lock = false;
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].