-
Notifications
You must be signed in to change notification settings - Fork 773
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
getting error during file downloading #17
Comments
REASONThis URL response header can't meet HTTP 1.1 RFC 2616 and HTTP 1.1 RFC 7233 define, and violate it very far. I debug okdownload on the sample project As you can see, the request and response to the trial connection before split several blocks to downloading:
So as page 5 of RFC 7233 said:
So, when the request with So I guess, the right response to your URL would contain AppendixWhy need to download with split several blocks?Because of the most resource, one connection doesn't provide enough speed input-stream for it, so we split several blocks of it and use each independent connection to touch each block input-stream simultaneously to enhance the download speed. Why there is a trial connection before split several blocks to downloading?Because of before split-block, we need to know how many blocks do we need to split, then we need to know whether the resource support split block or not and the instance length of resource, and use |
Thanks for your response. |
I think this resource has something special, it is like chunked resource but it response I tried the Url without REAL PROBLEMAs the
We think such as So consider this case we will add exactly range even for the last block to fix such problem on 1.0.1. |
Now, You can use v1.0.1-SNAPSHOT which handled this issue, and final release would be on v1.0.1. |
Thank you very much. Its working perfectly now. |
Getting error "java.io.IOException: The current offset on block-info isn't update correct, 1048577 != 8010121 on 2"
Download URL: http://43.229.84.125:1337/parse/files/QzxAOPDw8p3VmLecPW5b8oyKLYhIr1btsqRzw4fd/d575e21c9fc7558841da949ccec740e7_V07-NetballSG-13Mar-31Mar.mp4
Can you please rectify the issue
The text was updated successfully, but these errors were encountered: