czhu
V2EX  ›  问与答

aria2 下载 HTTP 请求太频繁导致链接失效,如何破?

  •  
  •   czhu · Dec 31, 2015 · 4581 views
    This topic created in 3863 days ago, the information mentioned may be changed or developed.

    我用 aria2 多线程( 5 ) HTTP 下载 N ( N>200 )个文件,因为文件都不大,下载好自动开始下一个,连续请求过多,导致下载一会后,所有链接就失效了。

    aria2 是否有办法可以限制一定时间内的连接数,或者在每个下载之间加入一定时间的 sleep ?
    我看了 aria2 的 event hook,都是在 event 发生后同时发生的,不能影响下载进程本身。

    如果 aria2 破不了,还有什么好软件可以推荐?只需 http ,但需要 RPC ,最好有 webui ,并可可以断了续传。

    先谢过了!

    5 replies    2015-12-31 12:43:42 +08:00
    mzer0
        1
    mzer0  
       Dec 31, 2015
    会 C 语言吗?
    czhu
        2
    czhu  
    OP
       Dec 31, 2015
    @mzer0 会一些,最好不要改 aria2 的 code ,没这么精通,浪费时间
    binux
        3
    binux  
       Dec 31, 2015
    会 shell 吗?
    czhu
        4
    czhu  
    OP
       Dec 31, 2015
    @binux 没问题 但是我 aria2 跑得是 daemon mode
    mzer0
        5
    mzer0  
       Dec 31, 2015 via iPhone
    @czhu curl 或者 wget 都行
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4645 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 287ms · UTC 05:36 · PVG 13:36 · LAX 22:36 · JFK 01:36
    ♥ Do have faith in what you're doing.