Re: Window size in SSH-2
- From: Simon Tatham <anakin@xxxxxxxxx>
- Date: 12 Jun 2007 22:48:17 +0100 (BST)
James H. Newman <NewJames@xxxxxxxxxxx> wrote:
Another question about the standard. When dealing with the window
size, the data size to take into account is that of the whole
SSH_MSG_CHANNEL_DATA packet (including padding and HMAC) or only that of
the payload in this packet?
It's the length of the data _string_ in the SSH_MSG_CHANNEL_DATA
packet payload. That is, an SSH_MSG_CHANNEL_DATA which contains a
string with a length field of 00 00 00 01 and a one-byte data field
of 41 consumes one byte of window space.
RFC 4254, section 5.2, is a bit ambiguous in this respect.
I think they thought it would be obvious given what the window is for.
--
Simon Tatham "What a caterpillar calls the end of the
<anakin@xxxxxxxxx> world, a human calls a butterfly."
.
- Follow-Ups:
- Re: Window size in SSH-2
- From: James H. Newman
- Re: Window size in SSH-2
- References:
- Window size in SSH-2
- From: James H. Newman
- Window size in SSH-2
- Prev by Date: Window size in SSH-2
- Next by Date: Re: Window size in SSH-2
- Previous by thread: Window size in SSH-2
- Next by thread: Re: Window size in SSH-2
- Index(es):