From bdbfb915d21ca49259b76a515b4ea12fe8bbe9e4 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Sun, 29 Mar 2015 03:22:27 +0200 Subject: Display a warning about WS status So I can finally push this to GitHub. --- json-rpc-shell.c | 4 ++++ 1 file changed, 4 insertions(+) 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"); -- cgit v1.2.3-70-g09d2