From 79ca2ee0541b8f7ff4a0b9a4a636052edf7d4448 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Fri, 14 Jun 2024 12:19:39 +0300 Subject: [PATCH] Increase the request buffer to 16k --- common/network/websocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/network/websocket.c b/common/network/websocket.c index 196f564..46d443d 100644 --- a/common/network/websocket.c +++ b/common/network/websocket.c @@ -1658,7 +1658,7 @@ timeout: } ws_ctx_t *do_handshake(int sock, char * const ip) { - char handshake[4096], response[4096], sha1[29], trailer[17]; + char handshake[16 * 1024], response[4096], sha1[29], trailer[17]; char *scheme, *pre; headers_t *headers; int len, i, offset;