aboutsummaryrefslogtreecommitdiff
path: root/sshfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshfs.c')
-rw-r--r--sshfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sshfs.c b/sshfs.c
index 81ee64a..739dbe3 100644
--- a/sshfs.c
+++ b/sshfs.c
@@ -1319,6 +1319,8 @@ static void *process_requests(void *data_)
close_conn();
g_hash_table_foreach_remove(sshfs.reqtab, (GHRFunc) clean_req, NULL);
sshfs.connver ++;
+ sshfs.outstanding_len = 0;
+ pthread_cond_broadcast(&sshfs.outstanding_cond);
pthread_mutex_unlock(&sshfs.lock);
if (!sshfs.reconnect) {