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 2014/09/05 23:26:16 UTC
[2/4] git commit: Cppapi: adding small error message
Cppapi: adding small error message
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/4805426c
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/4805426c
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/4805426c
Branch: refs/heads/master
Commit: 4805426cac31d2b7d86e03d51626bf04fa436e50
Parents: 13e1b48
Author: Brian Geffon <br...@apache.org>
Authored: Fri Sep 5 14:15:17 2014 -0700
Committer: Brian Geffon <br...@apache.org>
Committed: Fri Sep 5 14:15:17 2014 -0700
----------------------------------------------------------------------
lib/atscppapi/src/InterceptPlugin.cc | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4805426c/lib/atscppapi/src/InterceptPlugin.cc
----------------------------------------------------------------------
diff --git a/lib/atscppapi/src/InterceptPlugin.cc b/lib/atscppapi/src/InterceptPlugin.cc
index 0ae841e..c7e3f8c 100644
--- a/lib/atscppapi/src/InterceptPlugin.cc
+++ b/lib/atscppapi/src/InterceptPlugin.cc
@@ -311,6 +311,7 @@ int handleEvents(TSCont cont, TSEvent event, void *edata) {
InterceptPlugin::State *state = static_cast<InterceptPlugin::State *>(TSContDataGet(cont));
ScopedSharedMutexTryLock scopedTryLock(state->plugin_mutex_);
if (!scopedTryLock.hasLock()) {
+ LOG_ERROR("Couldn't get plugin lock. Will retry");
if (event != TS_EVENT_TIMEOUT) { // save only "non-retry" info
state->saved_event_ = event;
state->saved_edata_ = edata;