wait on child transfer processes, and invalidate cache

There's still a bug; if the child updates its transfer info file,
then the data from it will superscede the TransferInfo, losing the
info that we should wait on this child.
This commit is contained in:
Joey Hess 2012-07-06 16:44:13 -06:00
parent 4a10795144
commit 62876502c5
7 changed files with 43 additions and 19 deletions

View file

@ -27,6 +27,7 @@ stubInfo f = TransferInfo
, transferRemote = Nothing
, bytesComplete = Nothing
, associatedFile = f
, shouldWait = False
}
{- Adds pending transfers to the end of the queue for some of the known