version 1.32, 2011/12/02 00:41:56 |
version 1.33, 2011/12/04 23:16:12 |
|
|
extern volatile sig_atomic_t quit_pending; |
extern volatile sig_atomic_t quit_pending; |
extern char *stdio_forward_host; |
extern char *stdio_forward_host; |
extern int stdio_forward_port; |
extern int stdio_forward_port; |
extern int fork_after_authentication_flag; |
|
|
|
/* Context for session open confirmation callback */ |
/* Context for session open confirmation callback */ |
struct mux_session_confirm_ctx { |
struct mux_session_confirm_ctx { |
|
|
if (tty_flag) |
if (tty_flag) |
enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE); |
enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE); |
|
|
if (fork_after_authentication_flag) |
|
daemon(1, 1); |
|
/* |
/* |
* Stick around until the controlee closes the client_fd. |
* Stick around until the controlee closes the client_fd. |
* Before it does, it is expected to write an exit message. |
* Before it does, it is expected to write an exit message. |