diff options
| author | Felix Fietkau | 2024-04-18 12:55:19 +0000 |
|---|---|---|
| committer | Felix Fietkau | 2024-04-18 12:55:20 +0000 |
| commit | 3c49e70c462249c174062e8181d191c859c5e41b (patch) | |
| tree | 0cc7416d06396c1d251e7927e5a68ffb6ec4e34a | |
| parent | f9a28a9ce86473d934693fe59dcbe344ffbc695e (diff) | |
ustream-ssl: increase number of read buffers
Fix dealing with larger TLS transactions
Signed-off-by: Felix Fietkau <nbd@nbd.name>
| -rw-r--r-- | ustream-ssl.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |