aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-10-16 00:18:13 +0200
committerPřemysl Janouch <p@janouch.name>2018-10-16 01:47:51 +0200
commite9530f450e64947850da0ed7596c8611cf445efe (patch)
tree8e6076ad83b3842592e71023ade0bcfd56423c6f
parentdda22c2cd552d113db6afd789e38c5d436156d7c (diff)
downloadjson-rpc-shell-e9530f450e64947850da0ed7596c8611cf445efe.tar.gz
json-rpc-shell-e9530f450e64947850da0ed7596c8611cf445efe.tar.xz
json-rpc-shell-e9530f450e64947850da0ed7596c8611cf445efe.zip
Call ws_handler_start()
-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;
}