IETF-SSH archive

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

Re: data overflowing the window



>> Suppose the connection is idle and B's receive window is 1000 bytes.
>> --> CHANNEL_DATA, 1500 bytes -->
> Why would A do this?

I don't know.  Since it's not forbidden, I see no particular reason for
A not to.  Maybe it's easier.

>>                                 <-- WINDOW_ADJUST, 1000 bytes <--
>> B now thinks its receive window is 2000 bytes.
> Er, why?  B first thought it was 1000, then zero (because A consumed
> 1000 bytes of the window),

No, because B hasn't received that packet yet.  Remember, I was
postulating that the two packets cross in transit.  Thus these...

>>                                 --> CHANNEL_DATA, 1500 bytes -->
>> <-- WINDOW_ADJUST, 1000 bytes <--

...are the same two packets as above, just as seen by their receivers
rather than their senders.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse%rodents.montreal.qc.ca@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B



Home | Main Index | Thread Index | Old Index