mirror of https://github.com/aria2/aria2
Merge pull request #1982 from h3xx/update-docs
Various documenation fixes and rewordspull/1558/merge
commit
aa03612397
|
@ -334,29 +334,30 @@ HTTP/FTP/SFTP Options
|
||||||
|
|
||||||
.. option:: --stream-piece-selector=<SELECTOR>
|
.. option:: --stream-piece-selector=<SELECTOR>
|
||||||
|
|
||||||
Specify piece selection algorithm used in HTTP/FTP download. Piece
|
Specify piece selection algorithm used in HTTP/FTP download. A piece is a
|
||||||
means fixed length segment which is downloaded in parallel in
|
fixed length segment which is downloaded in parallel in a segmented download.
|
||||||
segmented download. If ``default`` is given, aria2 selects piece so
|
Default: ``default``.
|
||||||
that it reduces the number of establishing connection. This is
|
|
||||||
reasonable default behavior because establishing connection is an
|
default
|
||||||
expensive operation. If ``inorder`` is given, aria2 selects piece
|
Select a piece to reduce the number of connections established.
|
||||||
which has minimum index. Index=0 means first of the file. This will
|
This is reasonable default behavior because establishing a connection is an
|
||||||
be useful to view movie while downloading it.
|
expensive operation.
|
||||||
:option:`--enable-http-pipelining` option may
|
inorder
|
||||||
be useful to reduce re-connection overhead. Please note that aria2
|
Select a piece closest to the beginning of the file. This is useful for
|
||||||
honors
|
viewing movies while downloading. :option:`--enable-http-pipelining` option
|
||||||
:option:`--min-split-size <-k>` option,
|
may be useful to reduce re-connection overhead. Note that aria2 honors
|
||||||
so it will be necessary to specify a reasonable value to
|
:option:`--min-split-size <-k>` option, so it will be necessary to specify
|
||||||
:option:`--min-split-size <-k>` option.
|
a reasonable value to :option:`--min-split-size <-k>` option.
|
||||||
If ``random`` is given, aria2 selects piece randomly. Like
|
random
|
||||||
``inorder``, :option:`--min-split-size <-k>` option is honored.
|
Select a piece randomly. Like ``inorder``, :option:`--min-split-size <-k>`
|
||||||
If ``geom`` is given, at the beginning aria2 selects piece which has
|
option is honored.
|
||||||
minimum index like ``inorder``, but it exponentially increasingly
|
geom
|
||||||
keeps space from previously selected piece. This will reduce the
|
When starting to download a file, select a piece closest to the beginning
|
||||||
number of establishing connection and at the same time it will
|
of the file like ``inorder``, but then exponentially increases space
|
||||||
download the beginning part of the file first. This will be useful
|
between pieces.
|
||||||
to view movie while downloading it.
|
This reduces the number of connections established, while
|
||||||
Default: ``default``
|
at the same time downloads the beginning part of the file first. This is
|
||||||
|
useful for viewing movies while downloading.
|
||||||
|
|
||||||
.. option:: -t, --timeout=<SEC>
|
.. option:: -t, --timeout=<SEC>
|
||||||
|
|
||||||
|
@ -500,7 +501,7 @@ HTTP Specific Options
|
||||||
|
|
||||||
Use the private key in FILE.
|
Use the private key in FILE.
|
||||||
The private key must be decrypted and in PEM format.
|
The private key must be decrypted and in PEM format.
|
||||||
The behavior when encrypted one is given is undefined.
|
An encrypted key may cause undefined behavior.
|
||||||
See also :option:`--certificate` option.
|
See also :option:`--certificate` option.
|
||||||
|
|
||||||
.. option:: --referer=<REFERER>
|
.. option:: --referer=<REFERER>
|
||||||
|
@ -522,8 +523,7 @@ HTTP Specific Options
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
In performance perspective, there is usually no advantage to enable
|
There is usually no performance gain from enabling this option.
|
||||||
this option.
|
|
||||||
|
|
||||||
.. option:: --header=<HEADER>
|
.. option:: --header=<HEADER>
|
||||||
|
|
||||||
|
@ -1487,7 +1487,7 @@ Advanced Options
|
||||||
.. option:: --multiple-interface=<INTERFACES>
|
.. option:: --multiple-interface=<INTERFACES>
|
||||||
|
|
||||||
Comma separated list of interfaces to bind sockets to. Requests will
|
Comma separated list of interfaces to bind sockets to. Requests will
|
||||||
be splited among the interfaces to achieve link aggregation. You can
|
be split among the interfaces to achieve link aggregation. You can
|
||||||
specify interface name, IP address and hostname. If
|
specify interface name, IP address and hostname. If
|
||||||
:option:`--interface` is used, this option will be ignored.
|
:option:`--interface` is used, this option will be ignored.
|
||||||
Possible Values: interface, IP address, hostname
|
Possible Values: interface, IP address, hostname
|
||||||
|
@ -4288,8 +4288,8 @@ Alternatively, if PEM files are supported, use a command like the following:
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
The file specified in :option:`--private-key` must be decrypted. The behavior when
|
The file specified in :option:`--private-key` must be decrypted; an encrypted
|
||||||
encrypted one is given is undefined.
|
key may cause undefined behavior.
|
||||||
|
|
||||||
Verify SSL/TLS servers using given CA certificates
|
Verify SSL/TLS servers using given CA certificates
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
|
@ -328,28 +328,31 @@ Opções HTTP / FTP
|
||||||
|
|
||||||
.. option:: --stream-piece-selector=<SELECTOR>
|
.. option:: --stream-piece-selector=<SELECTOR>
|
||||||
|
|
||||||
Specify piece selection algorithm used in HTTP e FTP download. Piece
|
Specify piece selection algorithm used in HTTP e FTP download. A piece is a
|
||||||
means fixed length segment which is downloaded in parallel in
|
fixed length segment which is downloaded in parallel in a segmented download.
|
||||||
segmented download. If ``default`` is given, aria2 selects piece so
|
|
||||||
that it reduces the number of establishing connection. This is
|
|
||||||
reasonable default behaviour because establishing connection is an
|
|
||||||
expensive operation. If ``inorder`` is given, aria2 selects piece
|
|
||||||
which has minimum index. Index=0 means first of the file. This will
|
|
||||||
be useful to view movie while downloading it.
|
|
||||||
:option:`--enable-http-pipelining` option may
|
|
||||||
be useful to reduce reconnection overhead. Please note that aria2
|
|
||||||
honors
|
|
||||||
:option:`--min-split-size <-k>` option,
|
|
||||||
so it will be necessary to specify a reasonable value to
|
|
||||||
:option:`--min-split-size <-k>` option.
|
|
||||||
If ``geom`` is given, at the beginning aria2 selects piece which has
|
|
||||||
minimum index like ``inorder``, but it exponentially increasingly
|
|
||||||
keeps space from previously selected piece. This will reduce the
|
|
||||||
number of establishing connection and at the same time it will
|
|
||||||
download the beginning part of the file first. This will be useful
|
|
||||||
to view movie while downloading it.
|
|
||||||
Padrão: ``default``
|
Padrão: ``default``
|
||||||
|
|
||||||
|
default
|
||||||
|
Select a piece to reduce the number of connections established.
|
||||||
|
This is reasonable default behaviour because establishing a connection is an
|
||||||
|
expensive operation.
|
||||||
|
inorder
|
||||||
|
Select a piece closest to the beginning of the file. This is useful for
|
||||||
|
viewing movies while downloading. :option:`--enable-http-pipelining` option
|
||||||
|
may be useful to reduce re-connection overhead. Note that aria2 honors
|
||||||
|
:option:`--min-split-size <-k>` option, so it will be necessary to specify
|
||||||
|
a reasonable value to :option:`--min-split-size <-k>` option.
|
||||||
|
random
|
||||||
|
Select a piece randomly. Like ``inorder``, :option:`--min-split-size <-k>`
|
||||||
|
option is honored.
|
||||||
|
geom
|
||||||
|
When starting to download a file, select a piece closest to the beginning
|
||||||
|
of the file like ``inorder``, but then exponentially increases space
|
||||||
|
between pieces.
|
||||||
|
This reduces the number of connections established, while
|
||||||
|
at the same time downloads the beginning part of the file first. This is
|
||||||
|
useful for viewing movies while downloading.
|
||||||
|
|
||||||
.. option:: -t, --timeout=<SEGUNDOS>
|
.. option:: -t, --timeout=<SEGUNDOS>
|
||||||
|
|
||||||
Set timeout in seconds.
|
Set timeout in seconds.
|
||||||
|
|
|
@ -638,7 +638,7 @@
|
||||||
" interface name, IP address and hostname.")
|
" interface name, IP address and hostname.")
|
||||||
#define TEXT_MULTIPLE_INTERFACE \
|
#define TEXT_MULTIPLE_INTERFACE \
|
||||||
_(" --multiple-interface=INTERFACES Comma separated list of interfaces to bind\n" \
|
_(" --multiple-interface=INTERFACES Comma separated list of interfaces to bind\n" \
|
||||||
" sockets to. Requests will be splited among the\n" \
|
" sockets to. Requests will be split among the\n" \
|
||||||
" interfaces to achieve link aggregation. You can\n" \
|
" interfaces to achieve link aggregation. You can\n" \
|
||||||
" specify interface name, IP address and hostname.\n" \
|
" specify interface name, IP address and hostname.\n" \
|
||||||
" If --interface is used, this option will be\n" \
|
" If --interface is used, this option will be\n" \
|
||||||
|
|
Loading…
Reference in New Issue