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