projects
/
project
/
ustream-ssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9a28a9
)
ustream-ssl: increase number of read buffers
author
Felix Fietkau
<nbd@nbd.name>
Thu, 18 Apr 2024 12:55:19 +0000
(14:55 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Thu, 18 Apr 2024 12:55:20 +0000
(14:55 +0200)
Fix dealing with larger TLS transactions
Signed-off-by: Felix Fietkau <nbd@nbd.name>
ustream-ssl.c
patch
|
blob
|
history
diff --git
a/ustream-ssl.c
b/ustream-ssl.c
index 4af5a4408f14814ac0e6a8104827eaf90d2ca755..d3048ca2ded69f4ced3a0ddd778b1e6e923fdd20 100644
(file)
--- 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);