mirror of
https://github.com/tsl0922/ttyd.git
synced 2026-01-09 04:14:22 +01:00
libwebsockets 3.0 support
This commit is contained in:
@@ -27,7 +27,7 @@ struct tty_server *server;
|
||||
|
||||
// websocket protocols
|
||||
static const struct lws_protocols protocols[] = {
|
||||
{"http-only", callback_http, 0, 0},
|
||||
{"http-only", callback_http, sizeof(struct pss_http), 0},
|
||||
{"tty", callback_tty, sizeof(struct tty_client), 0},
|
||||
{NULL, NULL, 0, 0}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user