summaryrefslogtreecommitdiffstats
path: root/clientloop.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2011-05-15 00:48:05 +0200
committerDamien Miller <djm@mindrot.org>2011-05-15 00:48:05 +0200
commit555f3b856f2681b46870a66386396b49426b9719 (patch)
tree88756b47f05c76c5afd5ce739aa26a7b3f124809 /clientloop.h
parent - jmc@cvs.openbsd.org 2011/05/07 23:20:25 (diff)
downloadopenssh-555f3b856f2681b46870a66386396b49426b9719.tar.xz
openssh-555f3b856f2681b46870a66386396b49426b9719.zip
- djm@cvs.openbsd.org 2011/05/08 12:52:01
[PROTOCOL.mux clientloop.c clientloop.h mux.c] improve our behaviour when TTY allocation fails: if we are in RequestTTY=auto mode (the default), then do not treat at TTY allocation error as fatal but rather just restore the local TTY to cooked mode and continue. This is more graceful on devices that never allocate TTYs. If RequestTTY is set to "yes" or "force", then failure to allocate a TTY is fatal. ok markus@
Diffstat (limited to 'clientloop.h')
-rw-r--r--clientloop.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/clientloop.h b/clientloop.h
index 37d072906..ad588d14d 100644
--- a/clientloop.h
+++ b/clientloop.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: clientloop.h,v 1.26 2011/04/17 22:42:41 djm Exp $ */
+/* $OpenBSD: clientloop.h,v 1.27 2011/05/08 12:52:01 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -70,3 +70,5 @@ void client_register_global_confirm(global_confirm_cb *, void *);
void muxserver_listen(void);
void muxclient(const char *);
void mux_exit_message(Channel *, int);
+void mux_tty_alloc_failed(Channel *);
+