config/global/download.in
changeset 1669 61edd9d19e3c
parent 1295 38cf339a6ad0
child 1776 6144097af955
     1.1 --- a/config/global/download.in	Sun Apr 19 16:59:40 2009 +0000
     1.2 +++ b/config/global/download.in	Wed Dec 30 15:36:22 2009 +0100
     1.3 @@ -89,7 +89,7 @@
     1.4  
     1.5  config CONNECT_TIMEOUT
     1.6      int
     1.7 -    prompt "connection timeout"
     1.8 +    prompt "Connection timeout"
     1.9      default 10
    1.10      help
    1.11        From the curl manual:
    1.12 @@ -109,6 +109,21 @@
    1.13        
    1.14        Note that this value applies equally to wget if you have that installed.
    1.15  
    1.16 +config DOWNLOAD_MAX_CHUNKS
    1.17 +    int
    1.18 +    prompt "Maximum number of // chunks"
    1.19 +    default 5
    1.20 +    range 1 10
    1.21 +    help
    1.22 +      If you have aria2 installed, then it will be used to download files.
    1.23 +      Aria2 can split the download in chunks, and download those chunks in //
    1.24 +      which can be interesting to speed up the download.
    1.25 +      
    1.26 +      On the other hand, using many chunks, or even chunking in general, may
    1.27 +      be seen by some site admins as being kind of unfair, or even as a DoS.
    1.28 +      That's why the range of acceptable values is [1..10], and the default
    1.29 +      is 5 (aria2's default).
    1.30 +
    1.31  config ONLY_DOWNLOAD
    1.32      bool
    1.33      prompt "Stop after downloading tarballs"