aboutsummaryrefslogtreecommitdiff
path: root/test/bench_network_tls.cpp
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2020-02-14 15:13:47 -0500
committerDeterminant <[email protected]>2020-02-14 15:13:47 -0500
commit853a6503391a05a3f60b50bb40a7dd4f35588293 (patch)
treec25dc16a0f5170611d0aa8e3a12d63e98a036342 /test/bench_network_tls.cpp
parent7dc5ec52b1c419c58c68d7359870a292ab12d7db (diff)
change queue_capacity to max_send_buff_size; adjust the C API
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 47b9347..576056d 100644
--- a/test/bench_network_tls.cpp
+++ b/test/bench_network_tls.cpp
@@ -81,7 +81,7 @@ struct MyNet: public MsgNetworkByteOp {
double stat_timeout = -1):
MsgNetworkByteOp(ec, MsgNetworkByteOp::Config(
ConnPool::Config()
- .queue_capacity(65536)
+ .max_send_buff_size(65536)
.enable_tls(true)
.tls_cert_file("alice.pem")
.tls_key_file("alice.pem")).burst_size(1000)),