diff options
author | Damien Miller <djm@mindrot.org> | 2008-05-19 07:35:33 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2008-05-19 07:35:33 +0200 |
commit | 5771ed7d1b5af26bc991151ab977e77bf1e87666 (patch) | |
tree | d24e88330fb1b3b2de2e1ed770ba0f28963c5049 /clientloop.h | |
parent | - djm@cvs.openbsd.org 2008/05/08 12:21:16 (diff) | |
download | openssh-5771ed7d1b5af26bc991151ab977e77bf1e87666.tar.xz openssh-5771ed7d1b5af26bc991151ab977e77bf1e87666.zip |
- djm@cvs.openbsd.org 2008/05/08 13:06:11
[clientloop.c clientloop.h ssh.c]
Use new channel status confirmation callback system to properly deal
with "important" channel requests that fail, in particular command exec,
shell and subsystem requests. Previously we would optimistically assume
that the requests would always succeed, which could cause hangs if they
did not (e.g. when the server runs out of fds) or were unimplemented by
the server (bz #1384)
Also, properly report failing multiplex channel requests via the mux
client stderr (subject to LogLevel in the mux master) - better than
silently failing.
most bits ok markus@ (as part of a larger diff)
Diffstat (limited to 'clientloop.h')
-rw-r--r-- | clientloop.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clientloop.h b/clientloop.h index c7d2233d0..cb2d7c089 100644 --- a/clientloop.h +++ b/clientloop.h @@ -1,4 +1,4 @@ -/* $OpenBSD: clientloop.h,v 1.17 2007/08/07 07:32:53 djm Exp $ */ +/* $OpenBSD: clientloop.h,v 1.18 2008/05/08 13:06:11 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -43,7 +43,7 @@ void client_x11_get_proto(const char *, const char *, u_int, char **, char **); void client_global_request_reply_fwd(int, u_int32_t, void *); void client_session2_setup(int, int, int, const char *, struct termios *, - int, Buffer *, char **, dispatch_fn *); + int, Buffer *, char **); int client_request_tun_fwd(int, int, int); /* Multiplexing protocol version */ |