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:
95fff47
)
server max protocol element 64
author
Andy Green
<andy@warmcat.com>
Wed, 10 Aug 2016 21:36:08 +0000
(
05:36
+0800)
committer
Andy Green
<andy@warmcat.com>
Wed, 10 Aug 2016 21:36:08 +0000
(
05:36
+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
b3b1a68
..
66e3035
100644
(file)
--- a/
lib/server.c
+++ b/
lib/server.c
@@
-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) {