mirror of https://github.com/aria2/aria2
2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added bt-tracker-timeout, bt-tracker-connect-timeout, always-resume, max-resume-failure-tries and http-accept-gzip to -i list options. * doc/aria2c.1.txt * doc/xmlrpc/aria2rpc * src/download_helper.ccpull/1/head
parent
0e060f0e8b
commit
3139b5fe48
|
@ -1,3 +1,12 @@
|
|||
2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Added bt-tracker-timeout, bt-tracker-connect-timeout,
|
||||
always-resume, max-resume-failure-tries and http-accept-gzip to -i
|
||||
list options.
|
||||
* doc/aria2c.1.txt
|
||||
* doc/xmlrpc/aria2rpc
|
||||
* src/download_helper.cc
|
||||
|
||||
2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Fixed the bug that web-seed URI is not percent-encoded.
|
||||
|
|
59
doc/aria2c.1
59
doc/aria2c.1
|
@ -2,12 +2,12 @@
|
|||
.\" Title: aria2c
|
||||
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: 04/02/2010
|
||||
.\" Date: 04/03/2010
|
||||
.\" Manual: Aria2 Manual
|
||||
.\" Source: Aria2 1.9.1a
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "ARIA2C" "1" "04/02/2010" "Aria2 1\&.9\&.1a" "Aria2 Manual"
|
||||
.TH "ARIA2C" "1" "04/03/2010" "Aria2 1\&.9\&.1a" "Aria2 Manual"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
@ -2192,6 +2192,28 @@ bt\-tracker\-interval
|
|||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
bt\-tracker\-timeout
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
bt\-tracker\-connect\-timeout
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
enable\-peer\-exchange
|
||||
.RE
|
||||
.sp
|
||||
|
@ -2448,6 +2470,39 @@ realtime\-chunk\-checksum
|
|||
remove\-control\-file
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
always\-resume
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
max\-resume\-failure\-tries
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
http\-accept\-gzip
|
||||
.RE
|
||||
.sp
|
||||
These options have exactly same meaning of the ones in the command\-line options, but it just applies to the URIs it belongs to\&.
|
||||
.sp
|
||||
For example, the content of uri\&.txt is
|
||||
|
|
|
@ -2762,6 +2762,16 @@ bt-tracker-interval
|
|||
</li>
|
||||
<li>
|
||||
<p>
|
||||
bt-tracker-timeout
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
bt-tracker-connect-timeout
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
enable-peer-exchange
|
||||
</p>
|
||||
</li>
|
||||
|
@ -2880,6 +2890,21 @@ realtime-chunk-checksum
|
|||
remove-control-file
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
always-resume
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
max-resume-failure-tries
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
http-accept-gzip
|
||||
</p>
|
||||
</li>
|
||||
</ul></div>
|
||||
<div class="paragraph"><p>These options have exactly same meaning of the ones in the
|
||||
command-line options, but it just applies to the URIs it belongs to.</p></div>
|
||||
|
@ -4112,7 +4137,7 @@ files in the program, then also delete it here.</p></div>
|
|||
<div id="footnotes"><hr /></div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Last updated 2010-04-02 23:42:11 JST
|
||||
Last updated 2010-04-03 13:10:23 JST
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -1178,6 +1178,8 @@ of URIs. These optional lines must start with white space(s).
|
|||
* bt-seed-unverified
|
||||
* bt-stop-timeout
|
||||
* bt-tracker-interval
|
||||
* bt-tracker-timeout
|
||||
* bt-tracker-connect-timeout
|
||||
* enable-peer-exchange
|
||||
* follow-torrent
|
||||
* index-out
|
||||
|
@ -1202,6 +1204,9 @@ of URIs. These optional lines must start with white space(s).
|
|||
* parameterized-uri
|
||||
* realtime-chunk-checksum
|
||||
* remove-control-file
|
||||
* always-resume
|
||||
* max-resume-failure-tries
|
||||
* http-accept-gzip
|
||||
|
||||
These options have exactly same meaning of the ones in the
|
||||
command-line options, but it just applies to the URIs it belongs to.
|
||||
|
|
|
@ -133,6 +133,10 @@ OptionParser.new do |opt|
|
|||
}
|
||||
opt.on("--bt-stop-timeout SEC"){|val| options["bt-stop-timeout"]=val}
|
||||
opt.on("--bt-tracker-interval SEC"){|val| options["bt-tracker-interval"]=val}
|
||||
opt.on("--bt-tracker-timeout SEC"){|val| options["bt-tracker-timeout"]=val}
|
||||
opt.on("--bt-tracker-connect-timeout SEC"){|val|
|
||||
options["bt-tracker-connect-timeout"]=val
|
||||
}
|
||||
opt.on("--enable-peer-exchange [BOOL]",["true","false"]){|val|
|
||||
options["enable-peer-exchange"]=val||"true"
|
||||
}
|
||||
|
@ -188,6 +192,15 @@ OptionParser.new do |opt|
|
|||
opt.on("--remove-control-file [BOOL]",["true","false"]){|val|
|
||||
options["remove-control-file"]=val||"true"
|
||||
}
|
||||
opt.on("--always-resume [BOOL]",["true","false"]){|val|
|
||||
options["always-resume"]=val||"true"
|
||||
}
|
||||
opt.on("--max-resume-failure-tries N"){|val|
|
||||
options["max-resume-failure-tries"]=val
|
||||
}
|
||||
opt.on("--http-accept-gzip [BOOL]",["true","false"]){|val|
|
||||
options["http-accept-gzip"]=val||"true"
|
||||
}
|
||||
opt.on("--max-overall-download-limit LIMIT"){|val| options["max-overall-download-limit"]=val}
|
||||
opt.on("--max-overall-upload-limit LIMIT"){|val| options["max-overall-upload-limit"]=val}
|
||||
opt.on("-j","--max-concurrent-downloads N"){|val| options["max-concurrent-downloads"]=val}
|
||||
|
|
|
@ -130,6 +130,8 @@ const std::set<std::string>& listRequestOptions()
|
|||
PREF_BT_SEED_UNVERIFIED,
|
||||
PREF_BT_STOP_TIMEOUT,
|
||||
PREF_BT_TRACKER_INTERVAL,
|
||||
PREF_BT_TRACKER_TIMEOUT,
|
||||
PREF_BT_TRACKER_CONNECT_TIMEOUT,
|
||||
PREF_ENABLE_PEER_EXCHANGE,
|
||||
PREF_FOLLOW_TORRENT,
|
||||
PREF_INDEX_OUT,
|
||||
|
@ -153,7 +155,10 @@ const std::set<std::string>& listRequestOptions()
|
|||
PREF_NO_FILE_ALLOCATION_LIMIT,
|
||||
PREF_PARAMETERIZED_URI,
|
||||
PREF_REALTIME_CHUNK_CHECKSUM,
|
||||
PREF_REMOVE_CONTROL_FILE
|
||||
PREF_REMOVE_CONTROL_FILE,
|
||||
PREF_ALWAYS_RESUME,
|
||||
PREF_MAX_RESUME_FAILURE_TRIES,
|
||||
PREF_HTTP_ACCEPT_GZIP
|
||||
};
|
||||
static std::set<std::string> requestOptions
|
||||
(vbegin(REQUEST_OPTIONS), vend(REQUEST_OPTIONS));
|
||||
|
|
Loading…
Reference in New Issue