Browse Source
flush calls interrupt() to interrupt a pending read and trigger a flush. Unfortunately that interrupt() call can also interrupt a pending write, putting Jsch in a bad state and triggering "Short read of block" errors. Add locking to ensure the flush only interrupts reads as intended. Change-Id: Ib105d9e107ae43549ced7e6da29c22ee41cde9d8stable-4.6
Jonathan Nieder
8 years ago
1 changed files with 29 additions and 17 deletions
Loading…
Reference in new issue