-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
149f762
commit c432ff3
Showing
15 changed files
with
221 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# aria2 | ||
|
||
Source code: https://github.com/agalwood/aria2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
############################### | ||
# Motrix macOS Aria2 config file | ||
# | ||
# @see https://aria2.github.io/manual/en/html/aria2c.html | ||
# | ||
############################### | ||
|
||
|
||
################ RPC ################ | ||
# Enable JSON-RPC/XML-RPC server. | ||
enable-rpc=true | ||
# Add Access-Control-Allow-Origin header field with value * to the RPC response. | ||
rpc-allow-origin-all=true | ||
# Listen incoming JSON-RPC/XML-RPC requests on all network interfaces. | ||
rpc-listen-all=true | ||
# Set the RPC listening port. If this option is used, the default port is 6800. | ||
rpc-listen-port=6800 | ||
|
||
|
||
################ File system ################ | ||
# Save a control file(*.aria2) every SEC seconds. | ||
auto-save-interval=10 | ||
# Enable disk cache. | ||
disk-cache=64M | ||
# Specify file allocation method. | ||
file-allocation=none | ||
# No file allocation is made for files whose size is smaller than SIZE | ||
no-file-allocation-limit=64M | ||
# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds. | ||
save-session-interval=10 | ||
|
||
|
||
################ Task ################ | ||
# Verify the peer using certificates specified in --ca-certificate option. | ||
check-certificate=false | ||
# If aria2 receives "file not found" status from the remote HTTP/FTP servers NUM times | ||
# without getting a single byte, then force the download to fail. | ||
max-file-not-found=10 | ||
# Set number of tries. | ||
max-tries=5 | ||
# Set the seconds to wait between retries. When SEC > 0, aria2 will retry downloads when the HTTP server returns a 503 response. | ||
retry-wait=10 | ||
# Set the connect timeout in seconds to establish connection to HTTP/FTP/proxy server. After the connection is established, this option makes no effect and --timeout option is used instead. | ||
connect-timeout=10 | ||
# Set timeout in seconds. | ||
timeout=10 | ||
# aria2 does not split less than 2*SIZE byte range. | ||
min-split-size=1M | ||
# Send Accept: deflate, gzip request header. | ||
http-accept-gzip=true | ||
# Retrieve timestamp of the remote file from the remote HTTP/FTP server and if it is available, apply it to the local file. | ||
remote-time=true | ||
# Set interval in seconds to output download progress summary. Setting 0 suppresses the output. | ||
summary-interval=0 | ||
# Handle quoted string in Content-Disposition header as UTF-8 instead of ISO-8859-1, for example, the filename parameter, but not the extended version filename*. | ||
content-disposition-default-utf8=true | ||
#max connection per server | ||
max-connection-per-server=16 | ||
#max concurrent downloads | ||
max-concurrent-downloads=64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
############################### | ||
# Motrix Linux Aria2 config file | ||
# | ||
# @see https://aria2.github.io/manual/en/html/aria2c.html | ||
# | ||
############################### | ||
|
||
|
||
################ RPC ################ | ||
# Enable JSON-RPC/XML-RPC server. | ||
enable-rpc=true | ||
# Add Access-Control-Allow-Origin header field with value * to the RPC response. | ||
rpc-allow-origin-all=true | ||
# Listen incoming JSON-RPC/XML-RPC requests on all network interfaces. | ||
rpc-listen-all=true | ||
# Set the RPC listening port. If this option is used, the default port is 6800. | ||
rpc-listen-port=6800 | ||
|
||
|
||
################ File system ################ | ||
# Save a control file(*.aria2) every SEC seconds. | ||
auto-save-interval=10 | ||
# Enable disk cache. | ||
disk-cache=64M | ||
# Specify file allocation method. | ||
file-allocation=trunc | ||
# No file allocation is made for files whose size is smaller than SIZE | ||
no-file-allocation-limit=64M | ||
# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds. | ||
save-session-interval=10 | ||
|
||
|
||
################ Task ################ | ||
# Verify the peer using certificates specified in --ca-certificate option. | ||
check-certificate=false | ||
# If aria2 receives "file not found" status from the remote HTTP/FTP servers NUM times | ||
# without getting a single byte, then force the download to fail. | ||
max-file-not-found=10 | ||
# Set number of tries. | ||
max-tries=5 | ||
# Set the seconds to wait between retries. When SEC > 0, aria2 will retry downloads when the HTTP server returns a 503 response. | ||
retry-wait=10 | ||
# Set the connect timeout in seconds to establish connection to HTTP/FTP/proxy server. After the connection is established, this option makes no effect and --timeout option is used instead. | ||
connect-timeout=10 | ||
# Set timeout in seconds. | ||
timeout=10 | ||
# aria2 does not split less than 2*SIZE byte range. | ||
min-split-size=1M | ||
# Send Accept: deflate, gzip request header. | ||
http-accept-gzip=true | ||
# Retrieve timestamp of the remote file from the remote HTTP/FTP server and if it is available, apply it to the local file. | ||
remote-time=true | ||
# Set interval in seconds to output download progress summary. Setting 0 suppresses the output. | ||
summary-interval=0 | ||
# Handle quoted string in Content-Disposition header as UTF-8 instead of ISO-8859-1, for example, the filename parameter, but not the extended version filename*. | ||
content-disposition-default-utf8=true | ||
#max connection per server | ||
max-connection-per-server=16 | ||
#max concurrent downloads | ||
max-concurrent-downloads=64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
############################### | ||
# Motrix Windows Aria2 config file | ||
# | ||
# @see https://aria2.github.io/manual/en/html/aria2c.html | ||
# | ||
############################### | ||
|
||
|
||
################ RPC ################ | ||
# Enable JSON-RPC/XML-RPC server. | ||
enable-rpc=true | ||
# Add Access-Control-Allow-Origin header field with value * to the RPC response. | ||
rpc-allow-origin-all=true | ||
# Listen incoming JSON-RPC/XML-RPC requests on all network interfaces. | ||
rpc-listen-all=true | ||
# Set the RPC listening port. If this option is used, the default port is 6800. | ||
rpc-listen-port=6800 | ||
|
||
|
||
################ File system ################ | ||
# Save a control file(*.aria2) every SEC seconds. | ||
auto-save-interval=10 | ||
# Enable disk cache. | ||
disk-cache=64M | ||
# Specify file allocation method. | ||
file-allocation=falloc | ||
# No file allocation is made for files whose size is smaller than SIZE | ||
no-file-allocation-limit=64M | ||
# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds. | ||
save-session-interval=10 | ||
|
||
|
||
################ Task ################ | ||
check-certificate=false | ||
# If aria2 receives "file not found" status from the remote HTTP/FTP servers NUM times | ||
# without getting a single byte, then force the download to fail. | ||
max-file-not-found=10 | ||
# Set number of tries. | ||
max-tries=5 | ||
# Set the seconds to wait between retries. When SEC > 0, aria2 will retry downloads when the HTTP server returns a 503 response. | ||
retry-wait=10 | ||
# Set the connect timeout in seconds to establish connection to HTTP/FTP/proxy server. After the connection is established, this option makes no effect and --timeout option is used instead. | ||
connect-timeout=10 | ||
# Set timeout in seconds. | ||
timeout=10 | ||
# aria2 does not split less than 2*SIZE byte range. | ||
min-split-size=1M | ||
# Send Accept: deflate, gzip request header. | ||
http-accept-gzip=true | ||
# Retrieve timestamp of the remote file from the remote HTTP/FTP server and if it is available, apply it to the local file. | ||
remote-time=true | ||
# Set interval in seconds to output download progress summary. Setting 0 suppresses the output. | ||
summary-interval=0 | ||
# Handle quoted string in Content-Disposition header as UTF-8 instead of ISO-8859-1, for example, the filename parameter, but not the extended version filename*. | ||
content-disposition-default-utf8=true | ||
#max connection per server | ||
max-connection-per-server=16 | ||
#max concurrent downloads | ||
max-concurrent-downloads=64 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters