mirror of https://github.com/aria2/aria2
2010-08-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added bt-tracker and bt-exclude-tracker to -i list option. * doc/aria2c.1.txt * doc/xmlrpc/aria2rpc * src/download_helper.ccpull/1/head
parent
b9522dea25
commit
33da745070
|
@ -1,3 +1,10 @@
|
||||||
|
2010-08-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
|
Added bt-tracker and bt-exclude-tracker to -i list option.
|
||||||
|
* doc/aria2c.1.txt
|
||||||
|
* doc/xmlrpc/aria2rpc
|
||||||
|
* src/download_helper.cc
|
||||||
|
|
||||||
2010-08-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
2010-08-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
Don't listen on IPv6 socket for BitTorrent, DHT, XML-RPC if
|
Don't listen on IPv6 socket for BitTorrent, DHT, XML-RPC if
|
||||||
|
|
26
doc/aria2c.1
26
doc/aria2c.1
|
@ -2,12 +2,12 @@
|
||||||
.\" Title: aria2c
|
.\" Title: aria2c
|
||||||
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
|
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||||
.\" Date: 08/25/2010
|
.\" Date: 08/27/2010
|
||||||
.\" Manual: Aria2 Manual
|
.\" Manual: Aria2 Manual
|
||||||
.\" Source: Aria2 1.10.1
|
.\" Source: Aria2 1.10.1
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
.\"
|
.\"
|
||||||
.TH "ARIA2C" "1" "08/25/2010" "Aria2 1\&.10\&.1" "Aria2 Manual"
|
.TH "ARIA2C" "1" "08/27/2010" "Aria2 1\&.10\&.1" "Aria2 Manual"
|
||||||
.\" -----------------------------------------------------------------
|
.\" -----------------------------------------------------------------
|
||||||
.\" * Define some portability stuff
|
.\" * Define some portability stuff
|
||||||
.\" -----------------------------------------------------------------
|
.\" -----------------------------------------------------------------
|
||||||
|
@ -2673,6 +2673,28 @@ conditional\-get
|
||||||
enable\-async\-dns6
|
enable\-async\-dns6
|
||||||
.RE
|
.RE
|
||||||
.sp
|
.sp
|
||||||
|
.RS 4
|
||||||
|
.ie n \{\
|
||||||
|
\h'-04'\(bu\h'+03'\c
|
||||||
|
.\}
|
||||||
|
.el \{\
|
||||||
|
.sp -1
|
||||||
|
.IP \(bu 2.3
|
||||||
|
.\}
|
||||||
|
bt\-tracker
|
||||||
|
.RE
|
||||||
|
.sp
|
||||||
|
.RS 4
|
||||||
|
.ie n \{\
|
||||||
|
\h'-04'\(bu\h'+03'\c
|
||||||
|
.\}
|
||||||
|
.el \{\
|
||||||
|
.sp -1
|
||||||
|
.IP \(bu 2.3
|
||||||
|
.\}
|
||||||
|
bt\-exclude\-tracker
|
||||||
|
.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\&.
|
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
|
.sp
|
||||||
For example, the content of uri\&.txt is
|
For example, the content of uri\&.txt is
|
||||||
|
|
|
@ -3078,6 +3078,16 @@ conditional-get
|
||||||
enable-async-dns6
|
enable-async-dns6
|
||||||
</p>
|
</p>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<p>
|
||||||
|
bt-tracker
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p>
|
||||||
|
bt-exclude-tracker
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
<div class="paragraph"><p>These options have exactly same meaning of the ones in the
|
<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>
|
command-line options, but it just applies to the URIs it belongs to.</p></div>
|
||||||
|
@ -4354,7 +4364,7 @@ files in the program, then also delete it here.</p></div>
|
||||||
<div id="footnotes"><hr /></div>
|
<div id="footnotes"><hr /></div>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<div id="footer-text">
|
<div id="footer-text">
|
||||||
Last updated 2010-08-25 23:25:37 JST
|
Last updated 2010-08-27 20:49:24 JST
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -1309,6 +1309,8 @@ of URIs. These optional lines must start with white space(s).
|
||||||
* min-split-size
|
* min-split-size
|
||||||
* conditional-get
|
* conditional-get
|
||||||
* enable-async-dns6
|
* enable-async-dns6
|
||||||
|
* bt-tracker
|
||||||
|
* bt-exclude-tracker
|
||||||
|
|
||||||
These options have exactly same meaning of the ones in the
|
These options have exactly same meaning of the ones in the
|
||||||
command-line options, but it just applies to the URIs it belongs to.
|
command-line options, but it just applies to the URIs it belongs to.
|
||||||
|
|
|
@ -206,6 +206,12 @@ OptionParser.new do |opt|
|
||||||
opt.on("--conditional-get [BOOL]",["true","false"]){|val|
|
opt.on("--conditional-get [BOOL]",["true","false"]){|val|
|
||||||
options["conditional-get"]=val||"true"
|
options["conditional-get"]=val||"true"
|
||||||
}
|
}
|
||||||
|
opt.on("--enable-async-dns6 [BOOL]",["true","false"]){|val|
|
||||||
|
options["enable-async-dns6"]=val||"true"
|
||||||
|
}
|
||||||
|
opt.on("--bt-tracker URIS"){|val| options["bt-tracker"]=val}
|
||||||
|
opt.on("--bt-exclude-tracker URIS"){|val| options["bt-exclude-tracker"]=val}
|
||||||
|
|
||||||
opt.on("--max-overall-download-limit LIMIT"){|val| options["max-overall-download-limit"]=val}
|
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("--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}
|
opt.on("-j","--max-concurrent-downloads N"){|val| options["max-concurrent-downloads"]=val}
|
||||||
|
|
|
@ -163,7 +163,9 @@ const std::set<std::string>& listRequestOptions()
|
||||||
PREF_MAX_CONNECTION_PER_SERVER,
|
PREF_MAX_CONNECTION_PER_SERVER,
|
||||||
PREF_MIN_SPLIT_SIZE,
|
PREF_MIN_SPLIT_SIZE,
|
||||||
PREF_CONDITIONAL_GET,
|
PREF_CONDITIONAL_GET,
|
||||||
PREF_ENABLE_ASYNC_DNS6
|
PREF_ENABLE_ASYNC_DNS6,
|
||||||
|
PREF_BT_TRACKER,
|
||||||
|
PREF_BT_EXCLUDE_TRACKER
|
||||||
};
|
};
|
||||||
static std::set<std::string> requestOptions
|
static std::set<std::string> requestOptions
|
||||||
(vbegin(REQUEST_OPTIONS), vend(REQUEST_OPTIONS));
|
(vbegin(REQUEST_OPTIONS), vend(REQUEST_OPTIONS));
|
||||||
|
|
Loading…
Reference in New Issue