From 944c4f0bdaa12ac3c58b77ee866758958e708329 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Tue, 18 Sep 2001 05:51:13 +0000 Subject: - markus@cvs.openbsd.org 2001/09/17 20:52:47 [channels.c channels.h clientloop.c] try to fix agent-forwarding-backconnection-bug, as seen on HPUX, for example; with Lutz.Jaenicke@aet.TU-Cottbus.DE, --- clientloop.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'clientloop.c') diff --git a/clientloop.c b/clientloop.c index 41aff835..e6da67d5 100644 --- a/clientloop.c +++ b/clientloop.c @@ -59,7 +59,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: clientloop.c,v 1.81 2001/07/17 21:04:57 markus Exp $"); +RCSID("$OpenBSD: clientloop.c,v 1.82 2001/09/17 20:52:47 markus Exp $"); #include "ssh.h" #include "ssh1.h" @@ -1111,6 +1111,7 @@ client_request_x11(const char *request_type, int rchan) error("client_request_x11: channel_new failed"); close(sock); } + c->force_drain = 1; return c; } @@ -1136,6 +1137,7 @@ client_request_agent(const char *request_type, int rchan) error("client_request_agent: channel_new failed"); close(sock); } + c->force_drain = 1; return c; } -- cgit v1.2.3