diff options
author | Determinant <[email protected]> | 2019-06-20 23:52:56 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-06-20 23:52:56 -0400 |
commit | 823585c4db2ef6752d12f489c83edab577b86099 (patch) | |
tree | 9ee3d121e74cc88cb8496d87c19a49a0e2681b93 /test/bench_network_tls.cpp | |
parent | 65f7c078663da387fd2cee8ab401c7ef66081138 (diff) |
finish test_msgnet_tls exampletls
Diffstat (limited to 'test/bench_network_tls.cpp')
-rw-r--r-- | test/bench_network_tls.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/bench_network_tls.cpp b/test/bench_network_tls.cpp index bb5d0c1..1143877 100644 --- a/test/bench_network_tls.cpp +++ b/test/bench_network_tls.cpp @@ -82,7 +82,11 @@ struct MyNet: public MsgNetworkByteOp { const NetAddr &peer, double stat_timeout = -1): MsgNetworkByteOp(ec, MsgNetworkByteOp::Config( - ConnPool::Config().queue_capacity(65536).enable_tls(true).tls_cert_file("all.pem").tls_key_file("all.pem")).burst_size(1000)), + ConnPool::Config() + .queue_capacity(65536) + .enable_tls(true) + .tls_cert_file("alice.pem") + .tls_key_file("alice.pem")).burst_size(1000)), name(name), peer(peer), ev_period_stat(ec, [this, stat_timeout](TimerEvent &) { |