1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

server max protocol element 64

https://github.com/warmcat/libwebsockets/issues/601
This commit is contained in:
Andy Green 2016-08-11 05:36:08 +08:00
parent 95fff47a91
commit 3ffd0eb84a

View file

@ -1005,7 +1005,7 @@ lws_handshake_server(struct lws *wsi, unsigned char **buf, size_t len)
struct allocated_headers *ah;
int protocol_len, n = 0, hit;
char protocol_list[128];
char protocol_name[32];
char protocol_name[64];
char *p;
if (len >= 10000000) {