lingochamp / lingochamp/FileDownloader

Bug in FetchDataTask [1.7.6]

Open
#1,200 8 comments 3 reactions 1 assignee View on GitHub

@rantianhua is already working on this.

Since Jun 24, 2019.

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

Description

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:

```
if (hostRunnable != null && !isSupportSeek) {
throw new IllegalAccessException(
"can't using multi-download when the output stream can't support seek");
}
```

Why using hostRunnable crashes out entire downloading (no multi-connection)? Can this be fixed soon?

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.