-
Notifications
You must be signed in to change notification settings - Fork 2.2k
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Bug in FetchDataTask [1.7.6] #1200
Comments
So you custom |
Shouldn't it be logic implemented in library itself? Are you 100% sure there is nothing to do in library and task should be closed? @rantianhua |
Oh, sorry with my misoperation. I'm asking you the way you use FileDownloader. |
So, can you show me how do you custom the |
You said:
How do you configure items don't use multi-connection? |
I'm using my OutputStreamCreator to encrypt on the fly but aren't you supposed to disable multi connection for all downloads with isSeekable = false? |
Actually, Filedownloader will use single connection if the output stream doesn't support seek: private boolean isMultiConnectionAvailable() {
//noinspection SimplifiableIfStatement
if (isResumeAvailableOnDB && model.getConnectionCount() <= 1) {
return false;
}
return acceptPartial && supportSeek && !isChunked;
} So, I need the whole FileDownloader log to check what's the problem. |
This code breaks it. It throws an exception even though i'm NOT using multi-download. |
I am using BaseDownloadTask and manage queue on my own. Every one of these items is correctly configured NOT TO use multi-connection (because of encryption with FileBufferedOutputStream), even though i can't download them because of below condition:
Why using hostRunnable crashes out entire downloading (no multi-connection)? Can this be fixed soon?
The text was updated successfully, but these errors were encountered: