aboutsummaryrefslogtreecommitdiff
path: root/test/test_msgnet.cpp
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-06-20 19:17:11 -0400
committerDeterminant <[email protected]>2019-06-20 19:17:11 -0400
commit65f7c078663da387fd2cee8ab401c7ef66081138 (patch)
tree121e0249651e7caa3dcbd09df639879af5dd46c9 /test/test_msgnet.cpp
parent4f41e23016dc316334e7d6cc8765bdf334b96f3e (diff)
add TLS benchmark
Diffstat (limited to 'test/test_msgnet.cpp')
-rw-r--r--test/test_msgnet.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_msgnet.cpp b/test/test_msgnet.cpp
index 088e0ff..7635af8 100644
--- a/test/test_msgnet.cpp
+++ b/test/test_msgnet.cpp
@@ -108,8 +108,9 @@ struct MyNet: public MsgNetworkByteOp {
{
printf("[%s] Disconnected, retrying.\n", this->name.c_str());
/* try to reconnect to the same address */
- connect(conn->get_addr());
+ connect(conn->get_addr(), false);
}
+ return true;
});
}