Summary: | ZModem upload big file failed | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | gonglinglei |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/konsole/85ee97b10871bd3cc9e313d60bc2440a85902924 | Version Fixed In: | 18.04 |
Attachments: | fix the bug |
Description
gonglinglei
2018-02-05 08:27:46 UTC
Created attachment 110347 [details]
fix the bug
1. read file 1Mb everytime
2. add -e flag to avoid not 8-bit clean
Thanks for the bug and patch. Git commit 85ee97b10871bd3cc9e313d60bc2440a85902924 by Kurt Hindenburg. Committed on 18/02/2018 at 18:32. Pushed by hindenburg into branch 'master'. For zmodem transfers, do not read entire file into memory Read at most 1Mb of data instead of loading entire file into memory. Add -e to force sender to escape all control characters Patch/Bug by gonglinglei gmail com FIXED-IN: 18.04 M +7 -6 src/Session.cpp https://commits.kde.org/konsole/85ee97b10871bd3cc9e313d60bc2440a85902924 |