X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=test-server%2Ftest-server-v2.0.c;h=d26e2b2a92aaf5fae8efcbd49ae983dc3e6e3116;hb=6f11c1361a296d1f93f10ad7ea3eacf0aabad7e4;hp=9623df2171c32879283614cc336b18c1dbf120a2;hpb=3b0066cb3fec6baee98a3dcb2cecf11463453ed5;p=platform%2Fupstream%2Flibwebsockets.git diff --git a/test-server/test-server-v2.0.c b/test-server/test-server-v2.0.c index 9623df2..d26e2b2 100644 --- a/test-server/test-server-v2.0.c +++ b/test-server/test-server-v2.0.c @@ -226,8 +226,15 @@ static const struct lws_protocol_vhost_options pvo_opt4 = { * linked-list. We can also give the plugin per-vhost options here. */ -static const struct lws_protocol_vhost_options pvo_4 = { +static const struct lws_protocol_vhost_options pvo_5 = { + NULL, NULL, + "lws-meta", + "" /* ignored, just matches the protocol name above */ +}; + +static const struct lws_protocol_vhost_options pvo_4 = { + &pvo_5, &pvo_opt4, /* set us as the protocol who gets raw connections */ "protocol-lws-raw-test", "" /* ignored, just matches the protocol name above */