mirror of https://github.com/aria2/aria2
2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added --reuse-uri option. This option has existed quite long, but been hidden. * doc/aria2c.1.txt * src/OptionHandlerFactory.cc * src/usage_text.hpull/1/head
parent
3ecf6e4b6f
commit
49169c93ba
|
@ -1,3 +1,11 @@
|
||||||
|
2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
|
Added --reuse-uri option. This option has existed quite long, but
|
||||||
|
been hidden.
|
||||||
|
* doc/aria2c.1.txt
|
||||||
|
* src/OptionHandlerFactory.cc
|
||||||
|
* src/usage_text.h
|
||||||
|
|
||||||
2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
2010-03-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
Ignore filename parameter if it contains directory traversal
|
Ignore filename parameter if it contains directory traversal
|
||||||
|
|
10
doc/aria2c.1
10
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: 03/07/2010
|
.\" Date: 03/08/2010
|
||||||
.\" Manual: Aria2 Manual
|
.\" Manual: Aria2 Manual
|
||||||
.\" Source: Aria2 1.9.0a
|
.\" Source: Aria2 1.9.0a
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
.\"
|
.\"
|
||||||
.TH "ARIA2C" "1" "03/07/2010" "Aria2 1\&.9\&.0a" "Aria2 Manual"
|
.TH "ARIA2C" "1" "03/08/2010" "Aria2 1\&.9\&.0a" "Aria2 Manual"
|
||||||
.\" -----------------------------------------------------------------
|
.\" -----------------------------------------------------------------
|
||||||
.\" * Define some portability stuff
|
.\" * Define some portability stuff
|
||||||
.\" -----------------------------------------------------------------
|
.\" -----------------------------------------------------------------
|
||||||
|
@ -212,6 +212,12 @@ Retrieve timestamp of the remote file from the remote HTTP/FTP server and if it
|
||||||
\fIfalse\fR
|
\fIfalse\fR
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
|
*\-\-reuse\-uri[=\fItrue\fR|\fIfalse\fR]
|
||||||
|
.RS 4
|
||||||
|
Reuse already used URIs if no unused URIs are left\&. Default:
|
||||||
|
\fItrue\fR
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
\fB\-\-server\-stat\-of\fR=FILE
|
\fB\-\-server\-stat\-of\fR=FILE
|
||||||
.RS 4
|
.RS 4
|
||||||
Specify the filename to which performance profile of the servers is saved\&. You can load saved data using
|
Specify the filename to which performance profile of the servers is saved\&. You can load saved data using
|
||||||
|
|
|
@ -802,6 +802,15 @@ aria2c -o myfile.zip "http://mirror1/file.zip" "http://mirror2/file.zip"</td>
|
||||||
</p>
|
</p>
|
||||||
</dd>
|
</dd>
|
||||||
<dt class="hdlist1">
|
<dt class="hdlist1">
|
||||||
|
*--reuse-uri[=<em>true</em>|<em>false</em>]
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<p>
|
||||||
|
Reuse already used URIs if no unused URIs are left.
|
||||||
|
Default: <em>true</em>
|
||||||
|
</p>
|
||||||
|
</dd>
|
||||||
|
<dt class="hdlist1">
|
||||||
<strong>--server-stat-of</strong>=FILE
|
<strong>--server-stat-of</strong>=FILE
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
|
@ -3804,7 +3813,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-03-07 17:15:38 JST
|
Last updated 2010-03-08 00:19:16 JST
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -144,6 +144,11 @@ aria2c -o myfile.zip "http://mirror1/file.zip" "http://mirror2/file.zip"
|
||||||
server and if it is available, apply it to the local file.
|
server and if it is available, apply it to the local file.
|
||||||
Default: 'false'
|
Default: 'false'
|
||||||
|
|
||||||
|
*--reuse-uri[='true'|'false']::
|
||||||
|
|
||||||
|
Reuse already used URIs if no unused URIs are left.
|
||||||
|
Default: 'true'
|
||||||
|
|
||||||
*--server-stat-of*=FILE::
|
*--server-stat-of*=FILE::
|
||||||
Specify the filename to which performance profile of the servers is
|
Specify the filename to which performance profile of the servers is
|
||||||
saved. You can load saved data using *--server-stat-if* option. See
|
saved. You can load saved data using *--server-stat-if* option. See
|
||||||
|
|
|
@ -564,9 +564,11 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers()
|
||||||
{
|
{
|
||||||
SharedHandle<OptionHandler> op(new BooleanOptionHandler
|
SharedHandle<OptionHandler> op(new BooleanOptionHandler
|
||||||
(PREF_REUSE_URI,
|
(PREF_REUSE_URI,
|
||||||
NO_DESCRIPTION,
|
TEXT_REUSE_URI,
|
||||||
V_TRUE));
|
V_TRUE,
|
||||||
op->hide();
|
OptionHandler::OPT_ARG));
|
||||||
|
op->addTag(TAG_FTP);
|
||||||
|
op->addTag(TAG_HTTP);
|
||||||
handlers.push_back(op);
|
handlers.push_back(op);
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
|
@ -615,3 +615,6 @@
|
||||||
" this option is not specified, the default\n" \
|
" this option is not specified, the default\n" \
|
||||||
" interface is chosen. You can specify interface\n" \
|
" interface is chosen. You can specify interface\n" \
|
||||||
" name and IP address.")
|
" name and IP address.")
|
||||||
|
#define TEXT_REUSE_URI \
|
||||||
|
_(" --reuse-uri[=true|false] Reuse already used URIs if no unused URIs are\n" \
|
||||||
|
" left.")
|
||||||
|
|
Loading…
Reference in New Issue