trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject [2/4] git commit: Cppapi: adding small error message
Date Fri, 05 Sep 2014 21:26:16 GMT
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 <briang@apache.org>
Authored: Fri Sep 5 14:15:17 2014 -0700
Committer: Brian Geffon <briang@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;


Mime
View raw message