mirror of
https://github.com/tsl0922/ttyd.git
synced 2026-01-18 08:44:23 +01:00
protocol: fix ws code on process exit
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
#define SET_WINDOW_TITLE '1'
|
||||
#define SET_PREFERENCES '2'
|
||||
|
||||
#define MAX_READ_RETRY 2
|
||||
|
||||
// url paths
|
||||
struct endpoints {
|
||||
char *ws;
|
||||
@@ -48,6 +50,7 @@ struct pty_proc {
|
||||
int pty;
|
||||
char *pty_buffer;
|
||||
ssize_t pty_len;
|
||||
int err_count;
|
||||
|
||||
uv_pipe_t pipe;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user