8000 add support for file hosts which forbid request with 1. absent range header, 2. large range header · Issue #2017 · aria2/aria2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
add support for file hosts which forbid request with 1. absent range header, 2. large range header #2017
Open
@foxe6

Description

@foxe6
  1. try to make a request with absent range header at first, if it fails,
    simply make another request with range header with small value
    like "Range: bytes=0-1" to acquire content length from the response.

  2. i notice aria2 tries to split a download into large pieces like 200+mb
    however some hosts does not allow that, please consider options like:
    "--max-piece-size=1m" (equal to "Range: bytes=x-y"; y=x+1024*1024-1)
    to limit how big a piece can be.

known file hosts that behave like this: baidu wangpan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0