aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--demo-json-rpc-server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/demo-json-rpc-server.c b/demo-json-rpc-server.c
index baed884..2c487f5 100644
--- a/demo-json-rpc-server.c
+++ b/demo-json-rpc-server.c
@@ -2257,6 +2257,8 @@ client_ws_create (EV_P_ int sock_fd)
// One mebibyte seems to be a reasonable value
self->handler.max_payload_len = 1 << 10;
+
+ ws_handler_start (&self->handler);
return &self->client;
}