From ba651584426f99e754a807f4922709c58b989519 Mon Sep 17 00:00:00 2001 From: fengzero Date: Tue, 5 Nov 2024 09:43:59 +0000 Subject: [PATCH] conn buf size: 8192 --- src/connection/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connection/connection.c b/src/connection/connection.c index 3ce15959b..7ef7ac474 100644 --- a/src/connection/connection.c +++ b/src/connection/connection.c @@ -99,7 +99,7 @@ neu_conn_t *neu_conn_new(neu_conn_param_t *param, void *data, conn->disconnected = disconnected; conn->connected = connected; - conn->buf_size = 2048; + conn->buf_size = 8192; conn->buf = calloc(conn->buf_size, 1); conn->offset = 0; conn->stop = false;