Display a warning about WS status

So I can finally push this to GitHub.
This commit is contained in:
Přemysl Eric Janouch 2015-03-29 03:22:27 +02:00
parent 64381f8d46
commit bdbfb915d2
1 changed files with 4 additions and 0 deletions

View File

@ -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");