]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
If the SSH server sends us CHANNEL_CLOSE for a channel on which we're
authorSimon Tatham <anakin@pobox.com>
Sun, 21 Jul 2013 10:12:58 +0000 (10:12 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 21 Jul 2013 10:12:58 +0000 (10:12 +0000)
commiteaea69ef53c73356bf647cf6661ef3647a58c580
treeed0e59a663626a3512f9dc2a78208a6ec8e3d651
parent4f457ff7f217ec3c5f4d2bc249101c43f94a8b4d
If the SSH server sends us CHANNEL_CLOSE for a channel on which we're
sitting on a pile of buffered data waiting for WINDOW_ADJUSTs, we
should throw away that buffered data, because the CHANNEL_CLOSE tells
us that we won't be receiving those WINDOW_ADJUSTs, and if we hang on
to the data and keep trying then it'll prevent ssh_channel_try_eof
from sending the CHANNEL_EOF which is a prerequisite of sending our
own CHANNEL_CLOSE.

[originally from svn r9953]
ssh.c