Increase the request buffer to 16k

This commit is contained in:
Lauri Kasanen 2024-06-14 12:19:39 +03:00
parent ba6226e308
commit 79ca2ee054
No known key found for this signature in database

View File

@ -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;