Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/dist/ssh Do not discard input data from client for ch...



details:   https://anonhg.NetBSD.org/src/rev/57a683e6e833
branches:  trunk
changeset: 509582:57a683e6e833
user:      onoe <onoe%NetBSD.org@localhost>
date:      Tue May 08 03:02:35 2001 +0000

description:
Do not discard input data from client for channels waiting for connection
establishment.

diffstat:

 crypto/dist/ssh/channels.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 7f459c747e2e -r 57a683e6e833 crypto/dist/ssh/channels.c
--- a/crypto/dist/ssh/channels.c        Tue May 08 02:15:39 2001 +0000
+++ b/crypto/dist/ssh/channels.c        Tue May 08 03:02:35 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: channels.c,v 1.8 2001/04/10 08:07:56 itojun Exp $      */
+/*     $NetBSD: channels.c,v 1.9 2001/05/08 03:02:35 onoe Exp $        */
 /*
  * Author: Tatu Ylonen <ylo%cs.hut.fi@localhost>
  * Copyright (c) 1995 Tatu Ylonen <ylo%cs.hut.fi@localhost>, Espoo, Finland
@@ -1283,6 +1283,7 @@
 
        /* Ignore any data for non-open channels (might happen on close) */
        if (c->type != SSH_CHANNEL_OPEN &&
+           c->type != SSH_CHANNEL_CONNECTING &&
            c->type != SSH_CHANNEL_X11_OPEN)
                return;
 



Home | Main Index | Thread Index | Old Index