Display a warning about WS status
So I can finally push this to GitHub.
This commit is contained in:
parent
64381f8d46
commit
bdbfb915d2
|
@ -1834,7 +1834,11 @@ main (int argc, char *argv[])
|
||||||
g_ctx.backend = &g_backend_curl;
|
g_ctx.backend = &g_backend_curl;
|
||||||
else if (!strcasecmp_ascii (url_schema, "ws")
|
else if (!strcasecmp_ascii (url_schema, "ws")
|
||||||
|| !strcasecmp_ascii (url_schema, "wss"))
|
|| !strcasecmp_ascii (url_schema, "wss"))
|
||||||
|
{
|
||||||
|
print_warning ("WebSocket support is experimental"
|
||||||
|
" and most likely completely broken");
|
||||||
g_ctx.backend = &g_backend_ws;
|
g_ctx.backend = &g_backend_ws;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
exit_fatal ("unsupported protocol");
|
exit_fatal ("unsupported protocol");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue