test server libuv support status protocol
authorAndy Green <andy.green@linaro.org>
Sun, 28 Feb 2016 17:11:08 +0000 (01:11 +0800)
committerAndy Green <andy.green@linaro.org>
Sun, 28 Feb 2016 17:11:55 +0000 (01:11 +0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
test-server/test-server-libuv.c

index 5716bdf07fc0f04f615211075e81c1fe952e3470..d7ce0ddc1a0d32aef0a1cf77a95a8d20c7f3b625 100644 (file)
@@ -89,6 +89,12 @@ static struct lws_protocols protocols[] = {
                sizeof(struct per_session_data__lws_mirror),
                128,
        },
+       {
+               "lws-status",
+               callback_lws_status,
+               sizeof(struct per_session_data__lws_status),
+               128,
+       },
        { NULL, NULL, 0, 0 } /* terminator */
 };