aboutsummaryrefslogtreecommitdiff
path: root/test/bench_network_tls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/bench_network_tls.cpp')
-rw-r--r--test/bench_network_tls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bench_network_tls.cpp b/test/bench_network_tls.cpp
index cb466ad..89e39a8 100644
--- a/test/bench_network_tls.cpp
+++ b/test/bench_network_tls.cpp
@@ -110,7 +110,7 @@ struct MyNet: public MsgNetworkByteOp {
/* send the first message through this connection */
trigger = [this, conn](ThreadCall::Handle &) {
send_msg(MsgBytes(256), salticidae::static_pointer_cast<Conn>(conn));
- if (conn->get_mode() != MyNet::Conn::DEAD)
+ if (!conn->is_terminated())
tcall.async_call(trigger);
};
tcall.async_call(trigger);