summaryrefslogtreecommitdiffstats
path: root/src/server.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:54:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 02:54:51 +0000
commitd83891d2823707ebcdd5b6ce505983c8cc305b0d (patch)
tree91be853b67b04aea4f09fb2b1063544865b79211 /src/server.h
parentReleasing progress-linux version 1.7.4-1~progress7.99u1. (diff)
downloadttyd-d83891d2823707ebcdd5b6ce505983c8cc305b0d.tar.xz
ttyd-d83891d2823707ebcdd5b6ce505983c8cc305b0d.zip
Merging upstream version 1.7.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/server.h')
-rw-r--r--src/server.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server.h b/src/server.h
index 4a659b0..e13d632 100644
--- a/src/server.h
+++ b/src/server.h
@@ -59,7 +59,7 @@ struct pss_tty {
typedef struct {
struct pss_tty *pss;
bool ws_closed;
-} pty_ctx_t ;
+} pty_ctx_t;
struct server {
int client_count; // client count
@@ -78,6 +78,7 @@ struct server {
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
+ bool exit_no_conn; // whether exit on all clients disconnection
char socket_path[255]; // UNIX domain socket path
char terminal_type[30]; // terminal type to report