mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Read buffer is now 65536 bytes long
This commit is contained in:
@@ -13,6 +13,8 @@
|
|||||||
Released on 14/12/2020
|
Released on 14/12/2020
|
||||||
|
|
||||||
- Enhancements:
|
- Enhancements:
|
||||||
|
- File transfer:
|
||||||
|
- Read buffer is now 65536 bytes long
|
||||||
- File explorer:
|
- File explorer:
|
||||||
- Fixed color mismatch in local explorer
|
- Fixed color mismatch in local explorer
|
||||||
- Explorer tabs have now 70% of layout height, while logging area is 30%
|
- Explorer tabs have now 70% of layout height, while logging area is 30%
|
||||||
|
|||||||
@@ -451,7 +451,7 @@ impl FileTransferActivity {
|
|||||||
last_input_event_fetch = Instant::now();
|
last_input_event_fetch = Instant::now();
|
||||||
}
|
}
|
||||||
// Read till you can
|
// Read till you can
|
||||||
let mut buffer: [u8; 8192] = [0; 8192];
|
let mut buffer: [u8; 65536] = [0; 65536];
|
||||||
match rhnd.read(&mut buffer) {
|
match rhnd.read(&mut buffer) {
|
||||||
Ok(bytes_read) => {
|
Ok(bytes_read) => {
|
||||||
total_bytes_written += bytes_read;
|
total_bytes_written += bytes_read;
|
||||||
|
|||||||
Reference in New Issue
Block a user