IETF-SSH archive

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

Re: ssh channel window and adjustment



On Tue, 2003-01-14 at 17:15, Sombody Somewhere wrote:
> 
> 1. Does a SSH_MSG_CHANNEL_WINDOW_ADJUST message
> consumes window size?

No.  Unless I'm mistaken, the window size is the window for data sent in
the 'data' field of the SSH_MSG_CHANNEL_DATA and
SSH_MSG_CHANNEL_EXTENDED_DATA messages *only* - i.e. no other fields and
no other messages.  

> 2. Is there a specific rule when to send
> SSH_MSG_CHANNEL_WINDOW_ADJUST and when
> not
> to send it ?

No, this is implementation dependent.

> 3. What must a peer do, when it has to send data but
> has no channel window ?

Buffer the data until the window is expanded.

-- 
Jon Bright
Lead Programmer, Silicon Circus Ltd.
http://www.siliconcircus.com/





Home | Main Index | Thread Index | Old Index