mirror of
https://github.com/tsl0922/ttyd.git
synced 2026-01-06 10:54:22 +01:00
server: replace --readonly with --writable
This commit is contained in:
@@ -74,7 +74,7 @@ struct server {
|
||||
int sig_code; // close signal
|
||||
char sig_name[20]; // human readable signal string
|
||||
bool url_arg; // allow client to send cli arguments in URL
|
||||
bool readonly; // whether not allow clients to write to the TTY
|
||||
bool writable; // whether clients to write to the TTY
|
||||
bool check_origin; // whether allow websocket connection from different origin
|
||||
int max_clients; // maximum clients to support
|
||||
bool once; // whether accept only one client and exit on disconnection
|
||||
|
||||
Reference in New Issue
Block a user