]> asedeno.scripts.mit.edu Git - PuTTY.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)
commit1ac65ff01703a06eb78a0a74b658ce30b0f5b08b
tree089afda9a55e19d9143b0b6a34bda2c65840d054
parentb599e77ada8399459b14c710ed1db1e48456c868
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.

[originally from svn r9603]
sftp.c