summaryrefslogtreecommitdiff
path: root/json-rpc-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'json-rpc-shell.c')
-rw-r--r--json-rpc-shell.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/json-rpc-shell.c b/json-rpc-shell.c
index a6d319c..596db73 100644
--- a/json-rpc-shell.c
+++ b/json-rpc-shell.c
@@ -1834,7 +1834,11 @@ main (int argc, char *argv[])
g_ctx.backend = &g_backend_curl;
else if (!strcasecmp_ascii (url_schema, "ws")
|| !strcasecmp_ascii (url_schema, "wss"))
+ {
+ print_warning ("WebSocket support is experimental"
+ " and most likely completely broken");
g_ctx.backend = &g_backend_ws;
+ }
else
exit_fatal ("unsupported protocol");