From 3c49e70c462249c174062e8181d191c859c5e41b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 18 Apr 2024 14:55:19 +0200 Subject: [PATCH] ustream-ssl: increase number of read buffers Fix dealing with larger TLS transactions Signed-off-by: Felix Fietkau --- ustream-ssl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ustream-ssl.c b/ustream-ssl.c index 4af5a44..d3048ca 100644 --- a/ustream-ssl.c +++ b/ustream-ssl.c @@ -208,6 +208,7 @@ static int _ustream_ssl_init(struct ustream_ssl *us, struct ustream *conn, struc if (!us->ssl) return -ENOMEM; + conn->r.max_buffers = 4; conn->next = &us->stream; ustream_set_io(ctx, us->ssl, conn); ustream_ssl_stream_init(us); -- 2.30.2