aboutsummaryrefslogtreecommitdiff
path: root/src/network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network.cpp')
-rw-r--r--src/network.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/network.cpp b/src/network.cpp
index 2e98439..4717953 100644
--- a/src/network.cpp
+++ b/src/network.cpp
@@ -43,8 +43,12 @@ void msgnetwork_config_nworker(msgnetwork_config_t *self, size_t nworker) {
self->nworker(nworker);
}
-void msgnetwork_config_queue_capacity(msgnetwork_config_t *self, size_t cap) {
- self->queue_capacity(cap);
+void msgnetwork_config_max_recv_buff_size(msgnetwork_config_t *self, size_t size) {
+ self->max_recv_buff_size(size);
+}
+
+void msgnetwork_config_max_send_buff_size(msgnetwork_config_t *self, size_t size) {
+ self->max_send_buff_size(size);
}
void msgnetwork_config_enable_tls(msgnetwork_config_t *self, bool enabled) {