Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix stream_backend_file in the perl bindings
stream_backend_file seems to be broken in 24-fixes and master in the following ways: 1. When sending the FileTransfer command, it doesn't include all required parameters causing the backend to respond with "malformed_filetransfer_command" 2. The length of the file to be streamed is not parsed correctly when > 2147483647, which results in corrupt or zero length files being written to disk This patch fixes these issues. Patch applies cleanly to 24-fixes and master The file length fix was tested against files of lengths 2012338647 (regression), 2500703244 (requires conversion to unsigned to be interpreted correctly), and 31219659384 (test longlong) Fixes #9837 Signed-off-by: Gavin Hurlbut <ghurlbut@mythtv.org>
- Loading branch information