v1.0.1
1.0.1
2018-04-20
Feature
- Support get info reference from task reference because after task completed we delete info from the c
ache for health lifecycle but people may need info reference for the task - Add
taskDownloadFromBreakpoint
andtaskDownloadFromBeginning
forDownloadMonitor
- Use exactly range even for the last block to cover the case of some resource response unexpected cont
ent range when request range is to end. closes #17 - Support
taskEnd
onDownloadContextListener
which will carry back how many counts remain after thi
s callback - Support cancel task just used its id. closes #30
Stability
- Cover the case of the length of the local file is larger than the total length of info for the
Break pointLocalCheck
Bug Fix
- Fix unexpected completed returned by
StatusUtil
when the file exists but the user doesn't use persi
st database such assqlite
- Fix DownloadTask.toBuilder set a duplicate filename in some cases
- Fix raise runtime type exception when removing data from the breakpoint store straightly after cancel
ing the task. closes #34 - Fix
fd
isn't released manually when download finished which may raise OOM when there are a large nu
mber of tasks that are continuously initiated.