trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject git commit: TS-2820: Adding another check for crash
Date Tue, 27 May 2014 18:58:28 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 0c30d4d81 -> 971d8eb4d


TS-2820: Adding another check for crash


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/971d8eb4
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/971d8eb4
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/971d8eb4

Branch: refs/heads/master
Commit: 971d8eb4da6242cffec34caac04ee95267dc541e
Parents: 0c30d4d
Author: Brian Geffon <briang@apache.org>
Authored: Tue May 27 11:58:22 2014 -0700
Committer: Brian Geffon <briang@apache.org>
Committed: Tue May 27 11:58:22 2014 -0700

----------------------------------------------------------------------
 lib/atscppapi/src/TransformationPlugin.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/971d8eb4/lib/atscppapi/src/TransformationPlugin.cc
----------------------------------------------------------------------
diff --git a/lib/atscppapi/src/TransformationPlugin.cc b/lib/atscppapi/src/TransformationPlugin.cc
index cbe681b..8c21ea9 100644
--- a/lib/atscppapi/src/TransformationPlugin.cc
+++ b/lib/atscppapi/src/TransformationPlugin.cc
@@ -158,7 +158,7 @@ int handleTransformationPluginRead(TSCont contp, TransformationPluginState
*stat
         if (!state->input_complete_dispatched_) {
          state->transformation_plugin_.handleInputComplete();
          state->input_complete_dispatched_ = true;
-         if (vio_cont) {
+         if (vio_cont && 0 != TSVIOBufferGet(write_vio)) {
            TSContCall(vio_cont, static_cast<TSEvent>(TS_EVENT_VCONN_WRITE_COMPLETE),
write_vio);
          }
         }


Mime
View raw message