cacf106b80
- Add maxpack field to SftpHandler structure - Modify SftpHandler::new() to accept maxpack parameter - Limit SSH_FXP_READ data size to maxpack - 1024 bytes (OpenSSH style) - Get maxpack from Channel.remote_maxpacket Changes: - sftp_handler.rs: SftpHandler struct + new() + handle_read() - channel.rs: Pass remote_maxpacket to SftpHandler::new() Reference: OpenSSH sftp-server.c: process_read() - Limit: maxpacket - 1024 bytes - Prevent packet size violation Test status: 5MB upload still incomplete (2.0MB) - Issue may require additional debugging - Upload direction may also need maxpack limit