diff options
author | Damien Miller <djm@mindrot.org> | 2008-05-19 07:05:07 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2008-05-19 07:05:07 +0200 |
commit | b84886ba3e362f54b70aefcbe1aa10606309b7d7 (patch) | |
tree | 9346734369c4e527eca83c87a89c05df0ffe4a18 /monitor.c | |
parent | - markus@cvs.openbsd.org 2008/05/08 06:59:01 (diff) | |
download | openssh-b84886ba3e362f54b70aefcbe1aa10606309b7d7.tar.xz openssh-b84886ba3e362f54b70aefcbe1aa10606309b7d7.zip |
- djm@cvs.openbsd.org 2008/05/08 12:02:23
[auth-options.c auth1.c channels.c channels.h clientloop.c gss-serv.c]
[monitor.c monitor_wrap.c nchan.c servconf.c serverloop.c session.c]
[ssh.c sshd.c]
Implement a channel success/failure status confirmation callback
mechanism. Each channel maintains a queue of callbacks, which will
be drained in order (RFC4253 guarantees confirm messages are not
reordered within an channel).
Also includes a abandonment callback to clean up if a channel is
closed without sending confirmation messages. This probably
shouldn't happen in compliant implementations, but it could be
abused to leak memory.
ok markus@ (as part of a larger diff)
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: monitor.c,v 1.94 2007/10/29 04:08:08 dtucker Exp $ */ +/* $OpenBSD: monitor.c,v 1.95 2008/05/08 12:02:23 djm Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * Copyright 2002 Markus Friedl <markus@openbsd.org> @@ -51,6 +51,7 @@ #include <openssl/dh.h> +#include "openbsd-compat/sys-queue.h" #include "xmalloc.h" #include "ssh.h" #include "key.h" |