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:
73ff23e
)
test-server-v2.0: disable setting default protocol
author
Andy Green
<andy@warmcat.com>
Wed, 22 Mar 2017 13:18:48 +0000
(21:18 +0800)
committer
Andy Green
<andy@warmcat.com>
Wed, 22 Mar 2017 13:24:04 +0000
(21:24 +0800)
test-server/test-server-v2.0.c
patch
|
blob
|
history
diff --git
a/test-server/test-server-v2.0.c
b/test-server/test-server-v2.0.c
index
e3174dd
..
6041e70
100644
(file)
--- a/
test-server/test-server-v2.0.c
+++ b/
test-server/test-server-v2.0.c
@@
-148,13
+148,14
@@
static const struct lws_http_mount mount = {
* the effect is to set this protocol to be the default one for the vhost,
* ie, selected if no Protocol: header is sent with the ws upgrade.
*/
-
+#if 0
static const struct lws_protocol_vhost_options pvo_opt = {
NULL,
NULL,
"default",
"1"
};
+#endif
static const struct lws_protocol_vhost_options pvo_opt4a = {
NULL,
@@
-205,7
+206,7
@@
static const struct lws_protocol_vhost_options pvo_1 = {
static const struct lws_protocol_vhost_options pvo = {
&pvo_1,
- &pvo_opt,
+
NULL, //
&pvo_opt,
"dumb-increment-protocol",
""
};