Subject: RE: ssh channel window and adjustment

From: Avraham Fraenkel - Commatch <[email-masked]>
Date: Tue, 14 Jan 2003 18:29:23 +0200

Hello Sombody,
(1)  From the implemntations I looked in , it looks like that the adjest is
not consuming window , but I must agree that it is not wriiten in the draft.
(2) No - I looked into two impelmentations and I found the following
regarding server sending SSH_MSG_CHANNEL_WINDOW_ADJUST to the client:
     option (A): The openSSH implementation send it when the client had
already sent more then half of the max_window the server can handle.
      The window is increased in the amount of data which already was sent
to the shell.
     option (B) : The PuTTY implementation sent it when the amount of
buffered data (buffer which is not sent yet to shell) is less then some
constant.
--
Avraham (mailto:[email-masked])

-----Original Message-----
From: Sombody Somewhere [mailto:[email-masked]]
Sent: Tuesday, January 14, 2003 6:15 PM
To: [email-masked]
Subject: ssh channel window and adjustment

Hi all,

I have a simple question about ssh channel window and
its adjustment. Maybe this is my mistake and I haven't
found the right info about it and sorry if it is a
lame
question for you. I am interested in the following
issues:

1. Does a SSH_MSG_CHANNEL_WINDOW_ADJUST message
consumes window size?
2. Is there a specific rule when to send
SSH_MSG_CHANNEL_WINDOW_ADJUST and when
not
to send it ?
3. What must a peer do, when it has to send data but
has no channel window ?

Thank you very much in advance for you replies.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com