Feature #1281

Adding Chunk (connection) during download

Added by drbits almost 11 years ago. Updated 9 months ago.

Status:AssignedStart date:02/11/2010
Priority:NormalDue date:
Assignee:jiaz% Done:


Category:GeneralEstimated time:4.00 hours
Target version:040 - FarfarAway


While downloading a file, if the host is slow on each connection, it would help if the user could increase the number of connections. Several products do this.

One downloader allows adding connections, and when a chunk is done, the chunk with the largest remaining download is split, so all of the connections are always busy.

I do not know if there is a better way to do this than to stop one of the connections and divide the remaining download for that chunk into two parts and start a chunk for each. The alternative is to make the IO completion code for each packet check that it has not downloaded into the new chunk's part of the file.

Related issues

Related to Bug #10848: DevsOnly: update downloadsystem Assigned 12/30/2013

Also available in: Atom PDF