projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f078954
)
server max protocol element 64
author
Andy Green
<andy@warmcat.com>
Wed, 10 Aug 2016 21:53:54 +0000
(
05:53
+0800)
committer
Andy Green
<andy@warmcat.com>
Wed, 10 Aug 2016 21:53:54 +0000
(
05:53
+0800)
https://github.com/warmcat/libwebsockets/issues/601
lib/server.c
patch
|
blob
|
history
diff --git
a/lib/server.c
b/lib/server.c
index 389d809a3d6eacc01c9d6879380d3a49a79bf373..a3e608a5e06e7a3888b7a55833f205f6ae2525c7 100644
(file)
--- 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) {