aboutsummaryrefslogtreecommitdiff
path: root/test/test_p2p_stress.cpp
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2019-06-20 19:17:11 -0400
committerDeterminant <ted.sybil@gmail.com>2019-06-20 19:17:11 -0400
commit65f7c078663da387fd2cee8ab401c7ef66081138 (patch)
tree121e0249651e7caa3dcbd09df639879af5dd46c9 /test/test_p2p_stress.cpp
parent4f41e23016dc316334e7d6cc8765bdf334b96f3e (diff)
add TLS benchmark
Diffstat (limited to 'test/test_p2p_stress.cpp')
-rw-r--r--test/test_p2p_stress.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_p2p_stress.cpp b/test/test_p2p_stress.cpp
index 92e5bb4..1cb2ca3 100644
--- a/test/test_p2p_stress.cpp
+++ b/test/test_p2p_stress.cpp
@@ -113,6 +113,7 @@ void install_proto(AppContext &app, const size_t &seg_buff_size) {
send_rand(tc.state, static_pointer_cast<MyNet::Conn>(conn));
}
}
+ return true;
});
net.reg_error_handler([ec](const std::exception_ptr _err, bool fatal) {
try {