]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Handle failed SSH_FXP_CLOSE requests in sftp_put_file.
authorTim Kosse <tim.kosse@filezilla-project.org>
Wed, 28 Dec 2016 14:34:53 +0000 (15:34 +0100)
committerSimon Tatham <anakin@pobox.com>
Thu, 29 Dec 2016 11:18:03 +0000 (11:18 +0000)
commit6f871e3d226bc837e98b59649d323c6df5fc7f8a
treed659894fad9e46df6150bbdac5dcda0afc0c72d1
parente9a76883adf4f36ff467441f365becc392e48f30
Handle failed SSH_FXP_CLOSE requests in sftp_put_file.

It is possible for SSH_FXP_CLOSE requests to fail. This can happen if the
server buffers writes and an error occurs flushing the data to disk while
processing the SSH_FXP_CLOSE request. If the close fails, sftp_put_file now
returns an error as well.
psftp.c
sftp.c
sftp.h