v1.0.2
1.0.2
2018-04-28
Feature
- Change the default sync buffer interval millisecond from 3000 to 2000, because the default value also 2000ms on download-provider.
- Carry the user set header fields on trial-connection also. refs #42
- Support set connection count through
DownloadTask.Builder#setConnectionCount
. refs #31 - Support set pre-allocate-length through
DownloadTask.Builder#setPreAllocateLength
refs #31
Stability
- Using the more stability design to ensure there is only one thread operates with output-stream and ensure close output-stream after the last operation for one task's output-stream. refs #39
Bug Fix
- End the store-info operation after output-stream real finished instead of on download-dispatcher for each task. refs #39
- Fix exception isn't the real one when creating a task with wrong params. refs #41
- Fix the remit optimize isn't effective on remit-database when the task is canceled within remit-delay-time.
- Fix the illegal runtime exception is raised when download chunked resources. refs #35
- Fix the result of
getTotalOffset
andgetTotalLength
isn't right onBreakpointInfo
when chunked resource completed download. refs #35 - Fix can't resume when the file length is larger than current response instant-length because of the old file isn't delete when the file is dirty.