From d4410f1d073c5734759d3db1c2494045e7c3ffa5 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Thu, 11 Aug 2016 05:53:54 +0800 Subject: [PATCH] server max protocol element 64 https://github.com/warmcat/libwebsockets/issues/601 --- lib/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/server.c b/lib/server.c index 389d809..a3e608a 100644 --- a/lib/server.c +++ b/lib/server.c @@ -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) { -- 2.7.4