IETF-SSH archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ssh channel window and adjustment
[Note: WG chair hat off for the following]
> > 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.
Alternatively, provide some sort of flow-control back-pressure to slow
down the source of the channel..
For instance, if the data for the outbound direction of a channel
comes in on a reliable byte stream IPC channel of some sort [1], and
you run out of window on that channel, stop reading from the data
source. The OS will provide buffering and/or back pressure to the
other end of that channel; when the channel's window reopens, you can
start reading that channel again..
- Bill
[1] on unix: pipes, SOCK_STREAM sockets, etc.,
Home |
Main Index |
Thread Index |
Old Index