server max protocol element 64

https://github.com/warmcat/libwebsockets/issues/601
This commit is contained in:
Andy Green 2016-08-11 05:53:54 +08:00
parent f0789545e7
commit d4410f1d07

View file

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