Read buffer is now 65536 bytes long

This commit is contained in:
ChristianVisintin 2020-12-14 10:03:20 +01:00
parent 7aa8a892f8
commit e9d5093a52
2 changed files with 3 additions and 1 deletions

View file

@ -13,6 +13,8 @@
Released on 14/12/2020
- Enhancements:
- File transfer:
- Read buffer is now 65536 bytes long
- File explorer:
- Fixed color mismatch in local explorer
- Explorer tabs have now 70% of layout height, while logging area is 30%

View file

@ -451,7 +451,7 @@ impl FileTransferActivity {
last_input_event_fetch = Instant::now();
}
// Read till you can
let mut buffer: [u8; 8192] = [0; 8192];
let mut buffer: [u8; 65536] = [0; 65536];
match rhnd.read(&mut buffer) {
Ok(bytes_read) => {
total_bytes_written += bytes_read;