monkey1992
monkey1992
The same problem happened, it can be reproduced easily by frequently disconnect and connect network during downloading.
The location throw this exception is at line 133 of `BreakpointRemoteCheck`: ``` if (!isTrialSpecialPass(responseCode, instanceLength, resumable) && downloadStrategy.isServerCanceled(responseCode, info.getTotalOffset() != 0)) { throw new ServerCanceledException(responseCode, info.getTotalOffset()); } ``` The offset...
Remove `BreakpointInfo` from `BreakpointStore` can avoid this exception, like this: ``` OkDownload.with().breakpointStore().remove(task.getId()); ``` But the breakpoint retransmission mechanism loses its meaning. TT
> HI ,可以提供 native 层 参数说明吗?非常感谢 这个库很久没维护了,最近考虑维护起来,我会加上接口及参数说明,然后提供一份示例代码