Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不支持Partial Content的服务器会导致Crash #35

Closed
yuanguozheng opened this issue Apr 18, 2018 · 5 comments
Closed

不支持Partial Content的服务器会导致Crash #35

yuanguozheng opened this issue Apr 18, 2018 · 5 comments
Labels
Milestone

Comments

@yuanguozheng
Copy link

如果服务器没有返回Content-Range字段,并且以200而非206状态返回,同时返回了Transfer-Encoding: chunked,会导致BreakpointRemoteCheck中的instanceLength为-1,并抛出异常无法下载

@yuanguozheng
Copy link
Author

@kerneltea
Copy link

不知道你的问题跟我这个问题是否一样?
#31

@yuanguozheng
Copy link
Author

@kerneltea 看报错报的不一样,应该是一些疏忽吧

@Jacksgong Jacksgong added the bug label Apr 26, 2018
@Jacksgong Jacksgong added this to the 1.0.2 milestone Apr 26, 2018
@Jacksgong
Copy link
Collaborator

这个是chunked资源必现的一个bug。

Jacksgong added a commit that referenced this issue Apr 26, 2018
@Jacksgong
Copy link
Collaborator

该问题已经在1.0.2-SNAPSHOT中得到修复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants