lingochamp / lingochamp/FileDownloader

当获取不到 文件大小的时候,暂停下载多次调用,getSofar()会下载远超文件实际大小(比如200多M的文件,getSofar会达到1g,多次暂停 会越来越大)。日志如下

Open
#1,341 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
11.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

链接:http://sdkup.mengjitv.com/download/parse?p=L2Fway9tZW5naml0di94c3hqbDIveHN4amwyLmFwaw%3D%3D&ext=236-0&type=1&v=2
看日志大小已经返回有394536861字节了,该文件实际大小才284164096字节,具体日志如下

13915-13915/com.shanling.mwzs D/FileDownloader.DownloadTask: setPath /storage/emulated/0/mwzs/apk/像素小精灵2-送百充百抽.apk
2020-05-25 10:22:26.531 13915-13915/com.shanling.mwzs D/FileDownloader.DownloadTask: setListener com.shanling.mwzs.ui.download.DownloadManager$downloadListener$1@434ed9c
2020-05-25 10:22:26.531 13915-13915/com.shanling.mwzs V/FileDownloader.DownloadTaskHunter: call start Url[http://sdkup.mengjitv.com/download/parse?p=L2Fway9tZW5naml0di94c3hqbDIveHN4amwyLmFwaw%253D%253D&ext=236-0&type=1&v=2], Path[/storage/emulated/0/mwzs/apk/像素小精灵2-送百充百抽.apk] Listener[com.shanling.mwzs.ui.download.DownloadManager$downloadListener$1@434ed9c], Tag[null]
2020-05-25 10:22:26.533 13915-13915/com.shanling.mwzs V/FileDownloader.DownloadTaskHunter: the task[1112546232] has been into the launch pool.
2020-05-25 10:22:26.534 13915-15044/com.shanling.mwzs V/FileDownloader.FileDownloadEventPool: setListener event.service.connect.changed
2020-05-25 10:22:26.535 13915-15044/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify begin 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a
2020-05-25 10:22:26.535 13915-15044/com.shanling.mwzs V/FileDownloader.DownloadTaskHunter: filedownloader:lifecycle:start com.liulishuo.filedownloader.DownloadTaskHunter@41ab72b by 11
2020-05-25 10:22:26.535 13915-15044/com.shanling.mwzs V/FileDownloader.FileDownloadList: add list in all 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 11 1
2020-05-25 10:22:26.536 13915-15044/com.shanling.mwzs D/FileDownloader.FileDownloadManager: request start the task with url(http://sdkup.mengjitv.com/download/parse?p=L2Fway9tZW5naml0di94c3hqbDIveHN4amwyLmFwaw%253D%253D&ext=236-0&type=1&v=2) path(/storage/emulated/0/mwzs/apk/像素小精灵2-送百充百抽.apk) isDirectory(FALSE)
2020-05-25 10:22:26.542 13915-15044/com.shanling.mwzs D/FileDownloader.FileDownloadUtils: can't continue 1112546232 file not suit, exists[FALSE], directory[FALSE]
2020-05-25 10:22:26.552 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[11] new[1] 1
2020-05-25 10:22:26.553 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify pending 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a
2020-05-25 10:22:26.555 13915-15046/com.shanling.mwzs D/FileDownloader.DownloadMgrInitialParams: initial FileDownloader manager with the customize connection creator: com.shanling.mwzs.ui.download.SLDownloadConnection$Creator@17ce7d2
2020-05-25 10:22:26.555 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:26.555 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[1] new[6] 1
2020-05-25 10:22:26.556 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify started 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a
2020-05-25 10:22:26.556 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:26.557 13915-15046/com.shanling.mwzs I/download_header: name:User-Agent;value:FileDownloader/1.7.7
2020-05-25 10:22:26.557 13915-15046/com.shanling.mwzs D/FileDownloader.ConnectTask: <---- 1112546232 request header {Range=[bytes=0-0], User-Agent=[FileDownloader/1.7.7]}
2020-05-25 10:22:26.745 13915-15046/com.shanling.mwzs D/FileDownloader.ConnectTask: ----> 1112546232 response header {null=[HTTP/1.1 200 OK], Accept-Ranges=[bytes], Access-Control-Allow-Credentials=[true], Access-Control-Allow-Origin=[], Age=[433623], Connection=[keep-alive], Content-Disposition=[attachment;filename=xsxjl2_236-0.apk], Content-Type=[application/octet-stream;charset=utf-8], Date=[Mon, 25 May 2020 02:22:22 GMT], Ohc-Cache-HIT=[fzctcache65 [4], qdix216 [1]], Ohc-File-Size=[-1], Server=[JSP3/2.0.14], Timing-Allow-Origin=[], Transfer-Encoding=[chunked], X-Android-Received-Millis=[1590373346744], X-Android-Response-Source=[NETWORK 200], X-Android-Selected-Protocol=[http/1.1], X-Android-Sent-Millis=[1590373346726]}
2020-05-25 10:22:26.745 13915-15046/com.shanling.mwzs W/FileDownloader.FileDownloadUtils: don't get instance length fromContent-Range header
2020-05-25 10:22:26.745 13915-15046/com.shanling.mwzs D/FileDownloader.FileDownloadUtils: etag find null for task(1112546232)
2020-05-25 10:22:26.746 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[6] new[2] 1
2020-05-25 10:22:26.746 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify connected 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a
2020-05-25 10:22:26.746 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:26.848 13915-15046/com.shanling.mwzs D/FileDownloader.FileDownloadUtils: can't continue 1112546232 file not suit, exists[FALSE], directory[FALSE]
2020-05-25 10:22:26.849 13915-15046/com.shanling.mwzs I/download_header: name:User-Agent;value:FileDownloader/1.7.7
2020-05-25 10:22:26.850 13915-15046/com.shanling.mwzs D/FileDownloader.ConnectTask: <---- 1112546232 request header {Range=[bytes=0-], User-Agent=[FileDownloader/1.7.7]}
2020-05-25 10:22:26.971 13915-15046/com.shanling.mwzs D/FileDownloader.ConnectTask: ----> 1112546232 response header {null=[HTTP/1.1 200 OK], Accept-Ranges=[bytes], Access-Control-Allow-Credentials=[true], Access-Control-Allow-Origin=[], Age=[433624], Connection=[keep-alive], Content-Disposition=[attachment;filename=xsxjl2_236-0.apk], Content-Type=[application/octet-stream;charset=utf-8], Date=[Mon, 25 May 2020 02:22:23 GMT], Ohc-Cache-HIT=[fzctcache65 [4], qdix216 [1]], Ohc-File-Size=[-1], Server=[JSP3/2.0.14], Timing-Allow-Origin=[], Transfer-Encoding=[chunked], X-Android-Received-Millis=[1590373346970], X-Android-Response-Source=[NETWORK 200], X-Android-Selected-Protocol=[http/1.1], X-Android-Sent-Millis=[1590373346922]}
2020-05-25 10:22:26.972 13915-15046/com.shanling.mwzs D/FileDownloader.DownloadRunnable: the connection[-1] for 1112546232, is connected range[0, -1) current offset[0] with code[200]
2020-05-25 10:22:26.974 13915-15046/com.shanling.mwzs D/FileDownloader.FetchDataTask: start fetch(-1): range [0, -1), seek to[0]
2020-05-25 10:22:26.974 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:26.974 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress update model's status with progress
2020-05-25 10:22:26.974 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:26.975 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[2] new[3] 1
2020-05-25 10:22:26.975 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 885 -1
2020-05-25 10:22:26.975 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:26.987 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:26.987 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:26.988 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:26.990 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 20805 -1
2020-05-25 10:22:26.990 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:26.998 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:26.998 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:26.999 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:26.999 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 40725 -1
2020-05-25 10:22:26.999 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.008 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.009 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.009 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.009 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 60637 -1
2020-05-25 10:22:27.009 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.018 13915-15046/com.shanling.mwzs D/FileDownloader.FetchDataTask: require flushAndSync id[1112546232] index[-1] offset[65949], consume[5]
2020-05-25 10:22:27.018 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.018 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.019 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.019 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 70045 -1
2020-05-25 10:22:27.019 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.029 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.029 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.029 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.030 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 100581 -1
2020-05-25 10:22:27.030 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.040 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.040 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.040 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.040 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 121717 -1
2020-05-25 10:22:27.041 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.049 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.049 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.050 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.050 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 148269 -1
2020-05-25 10:22:27.050 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.060 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.060 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.062 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.063 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 177477 -1
2020-05-25 10:22:27.063 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.071 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.071 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.072 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.072 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 208125 -1
2020-05-25 10:22:27.072 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.081 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.081 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.082 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.082 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 243981 -1
2020-05-25 10:22:27.082 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.092 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.092 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.092 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.092 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 271853 -1
2020-05-25 10:22:27.092 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.104 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.105 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.105 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.105 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 310764 -1
2020-05-25 10:22:27.105 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.116 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.116 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.116 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.116 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 352732 -1
2020-05-25 10:22:27.116 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.131 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.131 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.131 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.132 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 379292 -1
2020-05-25 10:22:27.132 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.147 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.147 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.147 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.148 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 447012 -1
2020-05-25 10:22:27.148 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.159 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.159 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.160 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.160 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 525348 -1
2020-05-25 10:22:27.160 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.171 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.171 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.171 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.171 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 605132 -1
2020-05-25 10:22:27.171 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.180 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.180 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.180 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.181 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 636995 -1
2020-05-25 10:22:27.181 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.190 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.191 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.192 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.192 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 736748 -1
2020-05-25 10:22:27.192 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.200 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.200 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.200 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.201 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 836155 -1
2020-05-25 10:22:27.201 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.210 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.210 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.211 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.211 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 925010 -1
2020-05-25 10:22:27.211 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.221 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.221 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.221 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.221 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 986402 -1
2020-05-25 10:22:27.221 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.230 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.230 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.231 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.231 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 1127145 -1
2020-05-25 10:22:27.231 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.243 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.244 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.252 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.253 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 1152153 -1
2020-05-25 10:22:27.253 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.253 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.253 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.254 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.254 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 1156249 -1
2020-05-25 10:22:27.254 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.263 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.263 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.264 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.264 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 1266823 -1
2020-05-25 10:22:27.264 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.273 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.273 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.274 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.274 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 1389677 -1
2020-05-25 10:22:27.274 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.283 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.284 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.284 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:22:27.284 13915-15045/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@939637a 1596898 -1
2020-05-25 10:22:27.284 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:22:27.298 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:22:27.298 13915-15046/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:22:27.299 13915-15045/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1

2020-05-25 10:31:00.797 13915-15814/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:31:00.797 13915-15630/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:31:00.797 13915-15630/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@49fb0fc 394427423 -1
2020-05-25 10:31:00.797 13915-15630/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow
2020-05-25 10:31:00.806 13915-15814/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: inspectNeedCallbackToUser need callback to user
2020-05-25 10:31:00.806 13915-15814/com.shanling.mwzs I/FileDownloader.DownloadStatusCallback: handleProgress notify user progress status
2020-05-25 10:31:00.806 13915-15630/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: ~~~callback 1112546232 old[3] new[3] 1
2020-05-25 10:31:00.806 13915-15630/com.shanling.mwzs D/FileDownloader.FileDownloadMessenger: notify progress 1112546232@com.liulishuo.filedownloader.DownloadTask@49fb0fc 394536861 -1
2020-05-25 10:31:00.806 13915-15630/com.shanling.mwzs D/FileDownloader.MessageSnapshotGate: updateKeepFlow

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing getSofar() through DownloadRunnable, FetchDataTask, and DownloadStatusCallback when the response reports an unknown size (-1). Reproduce repeated pause and resume with the logged chunked response, then verify that the reported downloaded bytes do not exceed the actual file size.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile-dev, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.