Use a single sftp_senddata() to send each SFTP packet, rather than
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 12 Aug 2012 20:17:13 +0000 (20:17 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 12 Aug 2012 20:17:13 +0000 (20:17 +0000)
commite497389e51d4c6b50e01fb2e30af9c5a8caf9a65
tree089afda9a55e19d9143b0b6a34bda2c65840d054
parentc780e7e17ee21271e5af951c5b972ae7eed2242a
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: svn://svn.tartarus.org/sgt/putty@9603 cda61777-01e9-0310-a592-d414129be87e
sftp.c