tomaswolf commented on issue #468:
URL: https://github.com/apache/mina-sshd/issues/468#issuecomment-1964011568

   I've been wondering about -13 myself. The -13 aligns the SFTP buffer size 
such that the whole SSH_FXP_DATA SFTP message fits a channel packet exactly. 
(There's 13 bytes of overhead in the SFTP protocol.) However, I wonder if that 
is correct. The SSH connection layer adds another 9 bytes to this.  If the 
intent was to ensure an SFTP data message is not split over two SSH channel 
packets, it seems to me the value should be -22.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to