You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2018/08/31 15:34:27 UTC
[trafficserver] branch master updated: Removed checking the return
value for TSContCall()
This is an automated email from the ASF dual-hosted git repository.
bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new d8b7e34 Removed checking the return value for TSContCall()
d8b7e34 is described below
commit d8b7e34fc470c770f473a03cb01df77878acba5c
Author: Bryan Call <bc...@apache.org>
AuthorDate: Thu Aug 30 16:33:15 2018 -0700
Removed checking the return value for TSContCall()
---
plugins/experimental/multiplexer/post.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/experimental/multiplexer/post.cc b/plugins/experimental/multiplexer/post.cc
index c3419b0..969f966 100644
--- a/plugins/experimental/multiplexer/post.cc
+++ b/plugins/experimental/multiplexer/post.cc
@@ -91,12 +91,12 @@ postTransform(const TSCont c, PostState &s)
if (TSVIONTodoGet(vio) > 0) {
if (toWrite > 0) {
TSVIOReenable(s.vio);
- CHECK(TSContCall(TSVIOContGet(vio), TS_EVENT_VCONN_WRITE_READY, vio));
+ TSContCall(TSVIOContGet(vio), TS_EVENT_VCONN_WRITE_READY, vio);
}
} else {
TSVIONBytesSet(s.vio, TSVIONDoneGet(vio));
TSVIOReenable(s.vio);
- CHECK(TSContCall(TSVIOContGet(vio), TS_EVENT_VCONN_WRITE_COMPLETE, vio));
+ TSContCall(TSVIOContGet(vio), TS_EVENT_VCONN_WRITE_COMPLETE, vio);
}
}
@@ -122,7 +122,7 @@ handlePost(TSCont c, TSEvent e, void *data)
case TS_EVENT_ERROR: {
const TSVIO vio = TSVConnWriteVIOGet(c);
assert(vio != nullptr);
- CHECK(TSContCall(TSVIOContGet(vio), TS_EVENT_ERROR, vio));
+ TSContCall(TSVIOContGet(vio), TS_EVENT_ERROR, vio);
} break;
case TS_EVENT_VCONN_WRITE_COMPLETE:
TSVConnShutdown(TSTransformOutputVConnGet(c), 0, 1);