]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Use a single sftp_senddata() to send each SFTP packet, rather than
authorSimon Tatham <anakin@pobox.com>
Sun, 12 Aug 2012 20:17:13 +0000 (20:17 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 12 Aug 2012 20:17:13 +0000 (20:17 +0000)
commit28db3825f242b288160506817e116d2c0281cf4e
tree089afda9a55e19d9143b0b6a34bda2c65840d054
parenta441c236865bbd9e0f8666d34076a289c2a36912
Use a single sftp_senddata() to send each SFTP packet, rather than
using one for the length field and one for the rest of the packet
contents. Since sftp_senddata() has no queuing or deferral mechanism
but instead constructs and sends an SSH2_MSG_CHANNEL_DATA message
immediately, this change has the effect of ceasing to split every SFTP
packet across two SSH messages.

git-svn-id: http://svn.tartarus.org/sgt/putty@9603 cda61777-01e9-0310-a592-d414129be87e
sftp.c