Commit 43f0a504 authored by Kartik Mistry's avatar Kartik Mistry 🇮🇳

New upstream version 1.32.0

parent f6f214df
......@@ -25,6 +25,7 @@ Juan Francisco Cantero Hurtado
Kcchouette
Kurt Kartaltepe
Michał Górny
Michał Leśniewski
Mingye Wang
Nils Maier
ORiON-
......@@ -38,6 +39,7 @@ Sonny Piers
Sébastien Cabaniols
Tatsuhiro Tsujikawa
Torbjörn Lönnemark
Tse Kit Yam
Vasilij Schneidermann
Zoltan Toth-Czifra
amtlib-dot-dll
......@@ -45,6 +47,7 @@ c3mb0
diadistis
gilberto dos santos alves
gt
klemens
kwkam
luokar
mozillazg
......
This diff is collapsed.
......@@ -30,7 +30,7 @@ RUN apt-get update && \
RUN curl -L -O https://gmplib.org/download/gmp/gmp-6.1.2.tar.lz && \
curl -L -O http://downloads.sourceforge.net/project/expat/expat/2.2.0/expat-2.2.0.tar.bz2 && \
curl -L -O https://www.sqlite.org/2017/sqlite-autoconf-3160200.tar.gz && \
curl -L -O https://www.sqlite.org/2017/sqlite-autoconf-3180000.tar.gz && \
curl -L -O http://zlib.net/zlib-1.2.11.tar.gz && \
curl -L -O https://c-ares.haxx.se/download/c-ares-1.12.0.tar.gz && \
curl -L -O http://libssh2.org/download/libssh2-1.8.0.tar.gz
......@@ -57,8 +57,8 @@ RUN tar xf expat-2.2.0.tar.bz2 && \
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` && \
make install
RUN tar xf sqlite-autoconf-3160200.tar.gz && \
cd sqlite-autoconf-3160200 && \
RUN tar xf sqlite-autoconf-3180000.tar.gz && \
cd sqlite-autoconf-3180000 && \
./configure \
--disable-shared \
--enable-static \
......
......@@ -17,7 +17,7 @@ ENV TOOL_BIN_DIR /tools/arm-bcm2708/gcc-linaro-$HOST-raspbian-x64/bin
ENV PATH ${TOOL_BIN_DIR}:$PATH
RUN mkdir $LOCAL_DIR && mkdir zlib && cd zlib && \
curl -Ls -o - 'http://zlib.net/zlib-1.2.8.tar.gz' | \
curl -Ls -o - 'http://zlib.net/zlib-1.2.11.tar.gz' | \
tar xzf - --strip-components=1 && \
prefix=${LOCAL_DIR} \
CC=$HOST-gcc \
......@@ -31,7 +31,7 @@ RUN mkdir $LOCAL_DIR && mkdir zlib && cd zlib && \
make -s install
RUN mkdir -p expat && cd expat && \
curl -Ls -o - 'http://sourceforge.net/projects/expat/files/latest/download' | \
curl -Ls -o - 'https://sourceforge.net/projects/expat/files/expat/2.2.0/expat-2.2.0.tar.bz2/download' | \
tar xjf - --strip-components=1 && \
./configure \
--host=$HOST \
......
......@@ -30,7 +30,7 @@ endif # !HAVE_RST2HTML
dist_noinst_DATA = LICENSE.OpenSSL
# Format source files using clang-format. Don't format source files
# under deps directory since we are not responsible for thier coding
# under deps directory since we are not responsible for their coding
# style.
clang-format:
CLANGFORMAT=`git config --get clangformat.binary`; \
......
......@@ -980,7 +980,7 @@ uninstall-am: uninstall-dist_docDATA
@HAVE_RST2HTML_FALSE@ echo "<p>Readme has not been built!.<br>Instead see <a href='README.rst'>README.rst</a></p>" >> $@
# Format source files using clang-format. Don't format source files
# under deps directory since we are not responsible for thier coding
# under deps directory since we are not responsible for their coding
# style.
clang-format:
CLANGFORMAT=`git config --get clangformat.binary`; \
......
aria2 1.31.0
aria2 1.32.0
============
Release Note
------------
This release fixes assertion error in
SimpleRandomizer::getRandomBytes. It adds new option
content-disposition-default-utf8.
This release fixes several minor bugs, and spelling mistakes.
Changes
-------
* Better error message when local file status cannot be retrieved
* Clarify --max-concurrent-downloads option
GH-836
GH-833
* Fix assertion failure in SimpleRandomizer::getRandomBytes
* Fix compile error with toolchain which lacks IPV6_TCLASS
errno might not be initialized to 0, and we may get both rv == -1
and errno != ENOSYS. This leads to assertion failure. Since
getrandom_linux always returns -1 on failure, checking errno is
useless in this function.
GH-895
GH-823
* Log directed URI in notice log level
* Add option content-disposition-default-utf8
GH-884
Patch from JimmyZ
* Fix typo
GH-813
Patch from Tse Kit Yam
GH-879, GH-899
* Spelling fixes
Patch from klemens
GH-870
* Remove unused Android parts
These parts where unused after merging
https://github.com/aria2/aria2/pull/736
Patch from Fredrik Fornwall
GH-868
* Save control file early
GH-859
* Update links in Dockerfile.raspberrypi
Some links used in Dockerfile.raspberrypi are not accessible
anymore, because they were pointing to old versions of some source
packages and new versions were released. This commit fixes this by
changing the links to point to the newest versions.
Patch from Michał Leśniewski
GH-860
* Propagate disk full error on pre-allocation to last error code
GH-856
......@@ -3,13 +3,13 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.13.1: http://docutils.sourceforge.net/" />
<title>aria2 - The ultra fast download utility</title>
<style type="text/css">
/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 7614 2013-02-21 15:55:51Z milde $
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
......@@ -37,6 +37,14 @@ table.borderless td, table.borderless th {
.hidden {
display: none }
.subscript {
vertical-align: sub;
font-size: smaller }
.superscript {
vertical-align: super;
font-size: smaller }
a.toc-backref {
text-decoration: none ;
color: black }
......@@ -161,12 +169,12 @@ h2.subtitle {
hr.docutils {
width: 75% }
img.align-left, .figure.align-left, object.align-left {
img.align-left, .figure.align-left, object.align-left, table.align-left {
clear: left ;
float: left ;
margin-right: 1em }
img.align-right, .figure.align-right, object.align-right {
img.align-right, .figure.align-right, object.align-right, table.align-right {
clear: right ;
float: right ;
margin-left: 1em }
......@@ -177,6 +185,11 @@ img.align-center, .figure.align-center, object.align-center {
margin-right: auto;
}
table.align-center {
margin-left: auto;
margin-right: auto;
}
.align-left {
text-align: left }
......@@ -194,6 +207,15 @@ div.align-right {
/* div.align-center * { */
/* text-align: left } */
.align-top {
vertical-align: top }
.align-middle {
vertical-align: middle }
.align-bottom {
vertical-align: bottom }
ol.simple, ul.simple {
margin-bottom: 1em }
......@@ -481,12 +503,12 @@ or OpenSSL or Windows (see note)</td>
</tr>
</tbody>
</table>
<div class="note">
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">libxml2 has precedence over Expat if both libraries are installed.
If you prefer Expat, run configure with <tt class="docutils literal"><span class="pre">--without-libxml2</span></tt>.</p>
</div>
<div class="note">
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p>On Apple OSX the OS-level SSL/TLS support will be preferred. Hence
neither GnuTLS nor OpenSSL are required on that platform. If you'd
......@@ -501,7 +523,7 @@ preferred. Hence neither GnuTLS nor OpenSSL are required on that
platform. If you'd like to disable this behavior, run configure
with <tt class="docutils literal"><span class="pre">--without-wintls</span></tt>.</p>
</div>
<div class="note">
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p>On Apple OSX the OS-level checksum support will be preferred,
unless aria2 is configured with <tt class="docutils literal"><span class="pre">--without-appletls</span></tt>.</p>
......@@ -691,7 +713,7 @@ libraries.</p>
<h1>Cross-compiling Android binary</h1>
<p>In this section, we describe how to build Android binary using Android
NDK cross-compiler on Debian Linux.</p>
<p>At the time of this writing, android-ndk-r12b should compile aria2
<p>At the time of this writing, android-ndk-r14b should compile aria2
without errors.</p>
<p><tt class="docutils literal"><span class="pre">android-config</span></tt> script is a configure script wrapper for Android
build. We use it to create official Android build. This script
......
......@@ -359,7 +359,7 @@ Cross-compiling Android binary
In this section, we describe how to build Android binary using Android
NDK cross-compiler on Debian Linux.
At the time of this writing, android-ndk-r12b should compile aria2
At the time of this writing, android-ndk-r14b should compile aria2
without errors.
``android-config`` script is a configure script wrapper for Android
......
......@@ -51,6 +51,8 @@ PATH=$TOOLCHAIN/bin:$PATH
--with-libcares \
--with-libz \
--with-libssh2 \
CC="$TOOLCHAIN"/bin/arm-linux-androideabi-clang \
CXX="$TOOLCHAIN"/bin/arm-linux-androideabi-clang++ \
CXXFLAGS="-Os -g" \
CFLAGS="-Os -g" \
CPPFLAGS="-fPIE" \
......
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for aria2 1.31.0.
# Generated by GNU Autoconf 2.69 for aria2 1.32.0.
#
# Report bugs to <https://github.com/aria2/aria2/issues>.
#
......@@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='aria2'
PACKAGE_TARNAME='aria2'
PACKAGE_VERSION='1.31.0'
PACKAGE_STRING='aria2 1.31.0'
PACKAGE_VERSION='1.32.0'
PACKAGE_STRING='aria2 1.32.0'
PACKAGE_BUGREPORT='https://github.com/aria2/aria2/issues'
PACKAGE_URL='https://aria2.github.io/'
......@@ -645,14 +645,6 @@ EXTRALDFLAGS
EXTRACPPFLAGS
EXTRACXXFLAGS
EXTRACFLAGS
ANDROID_X86_FALSE
ANDROID_X86_TRUE
ANDROID_MIPS_FALSE
ANDROID_MIPS_TRUE
ANDROID_ARM_FALSE
ANDROID_ARM_TRUE
ANDROID_FALSE
ANDROID_TRUE
bashcompletiondir
ENABLE_LIBARIA2_FALSE
ENABLE_LIBARIA2_TRUE
......@@ -1592,7 +1584,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures aria2 1.31.0 to adapt to many kinds of systems.
\`configure' configures aria2 1.32.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
......@@ -1664,7 +1656,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of aria2 1.31.0:";;
short | recursive ) echo "Configuration of aria2 1.32.0:";;
esac
cat <<\_ACEOF
......@@ -1877,7 +1869,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
aria2 configure 1.31.0
aria2 configure 1.32.0
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
......@@ -2839,7 +2831,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by aria2 $as_me 1.31.0, which was
It was created by aria2 $as_me 1.32.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
......@@ -3818,7 +3810,7 @@ fi
# Define the identity of the package.
PACKAGE='aria2'
VERSION='1.31.0'
VERSION='1.32.0'
cat >>confdefs.h <<_ACEOF
......@@ -26129,59 +26121,6 @@ fi
case "$host" in
*android*)
android=yes
LIBS="$LIBS -lstdc++ -lsupc++"
case "$host" in
arm-*)
android_arm=yes
;;
mipsel-*)
android_mips=yes
;;
i686-*)
android_x86=yes
;;
esac
;;
*)
;;
esac
if test "x$android" = "xyes"; then
ANDROID_TRUE=
ANDROID_FALSE='#'
else
ANDROID_TRUE='#'
ANDROID_FALSE=
fi
if test "x$android_arm" = "xyes"; then
ANDROID_ARM_TRUE=
ANDROID_ARM_FALSE='#'
else
ANDROID_ARM_TRUE='#'
ANDROID_ARM_FALSE=
fi
if test "x$android_mips" = "xyes"; then
ANDROID_MIPS_TRUE=
ANDROID_MIPS_FALSE='#'
else
ANDROID_MIPS_TRUE='#'
ANDROID_MIPS_FALSE=
fi
if test "x$android_x86" = "xyes"; then
ANDROID_X86_TRUE=
ANDROID_X86_FALSE='#'
else
ANDROID_X86_TRUE='#'
ANDROID_X86_FALSE=
fi
if test "x$ARIA2_STATIC" = "xyes"; then
# -static-libgcc and -static-libstdc++ are linker flags and not for
# libtool.
......@@ -26735,22 +26674,6 @@ if test -z "${ENABLE_LIBARIA2_TRUE}" && test -z "${ENABLE_LIBARIA2_FALSE}"; then
as_fn_error $? "conditional \"ENABLE_LIBARIA2\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${ANDROID_TRUE}" && test -z "${ANDROID_FALSE}"; then
as_fn_error $? "conditional \"ANDROID\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${ANDROID_ARM_TRUE}" && test -z "${ANDROID_ARM_FALSE}"; then
as_fn_error $? "conditional \"ANDROID_ARM\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${ANDROID_MIPS_TRUE}" && test -z "${ANDROID_MIPS_FALSE}"; then
as_fn_error $? "conditional \"ANDROID_MIPS\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${ANDROID_X86_TRUE}" && test -z "${ANDROID_X86_FALSE}"; then
as_fn_error $? "conditional \"ANDROID_X86\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
: "${CONFIG_STATUS=./config.status}"
ac_write_fail=0
......@@ -27148,7 +27071,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by aria2 $as_me 1.31.0, which was
This file was extended by aria2 $as_me 1.32.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
......@@ -27215,7 +27138,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
aria2 config.status 1.31.0
aria2 config.status 1.32.0
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
......
......@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
#
AC_PREREQ([2.67])
AC_INIT([aria2],[1.31.0],[https://github.com/aria2/aria2/issues],[aria2],[https://aria2.github.io/])
AC_INIT([aria2],[1.32.0],[https://github.com/aria2/aria2/issues],[aria2],[https://aria2.github.io/])
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
......@@ -1099,31 +1099,6 @@ AM_CONDITIONAL([ENABLE_LIBARIA2], [test "x$enable_libaria2" = "xyes"])
AC_SUBST([bashcompletiondir])
case "$host" in
*android*)
android=yes
LIBS="$LIBS -lstdc++ -lsupc++"
case "$host" in
arm-*)
android_arm=yes
;;
mipsel-*)
android_mips=yes
;;
i686-*)
android_x86=yes
;;
esac
;;
*)
;;
esac
AM_CONDITIONAL([ANDROID], [test "x$android" = "xyes"])
AM_CONDITIONAL([ANDROID_ARM], [test "x$android_arm" = "xyes"])
AM_CONDITIONAL([ANDROID_MIPS], [test "x$android_mips" = "xyes"])
AM_CONDITIONAL([ANDROID_X86], [test "x$android_x86" = "xyes"])
if test "x$ARIA2_STATIC" = "xyes"; then
# -static-libgcc and -static-libstdc++ are linker flags and not for
# libtool.
......
.\" Man page generated from reStructuredText.
.
.TH "ARIA2C" "1" "Jan 16, 2017" "1.31.0" "aria2"
.TH "ARIA2C" "1" "May 17, 2017" "1.32.0" "aria2"
.SH NAME
aria2c \- The ultra fast download utility
.
......@@ -86,6 +86,33 @@ no log is written to disk at all.
Set the maximum number of parallel downloads for every queue item.
See also the \fI\%\-\-split\fP option.
Default: \fB5\fP
.sp
\fBNOTE:\fP
.INDENT 7.0
.INDENT 3.5
\fI\%\-\-max\-concurrent\-downloads\fP limits the number of items
which are downloaded concurrently. \fI\%\-\-split\fP and
\fI\%\-\-min\-split\-size\fP affect the number of connections
inside each item. Imagine that you have an input file (see
\fI\%\-\-input\-file\fP option) like this:
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
http://example.com/foo
http://example.com/bar
.ft P
.fi
.UNINDENT
.UNINDENT
.sp
Here is 2 download items. aria2 can download these items
concurrently if the value more than or equal 2 is given to
\fI\%\-\-max\-concurrent\-downloads\fP\&. In each download item, you
can configure the number of connections using \fI\%\-\-split\fP and/or \fI\%\-\-min\-split\-size\fP, etc.
.UNINDENT
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
......@@ -3126,7 +3153,7 @@ This method returns the GID of the unpaused download.
.INDENT 0.0
.TP
.B aria2.unpauseAll([secret])
This method is equal to calling \fI\%aria2.unpause()\fP for every active/waiting
This method is equal to calling \fI\%aria2.unpause()\fP for every paused
download. This methods returns \fBOK\fP\&.
.UNINDENT
.INDENT 0.0
......
......@@ -57,6 +57,25 @@ Basic Options
See also the :option:`--split <-s>` option.
Default: ``5``
.. note::
:option:`--max-concurrent-downloads` limits the number of items
which are downloaded concurrently. :option:`--split <-s>` and
:option:`--min-split-size <-k>` affect the number of connections
inside each item. Imagine that you have an input file (see
:option:`--input-file <-i>` option) like this:
.. code-block:: text
http://example.com/foo
http://example.com/bar
Here is 2 download items. aria2 can download these items
concurrently if the value more than or equal 2 is given to
:option:`--max-concurrent-downloads`. In each download item, you
can configure the number of connections using :option:`--split
<-s>` and/or :option:`--min-split-size <-k>`, etc.
.. option:: -V, --check-integrity[=true|false]
Check file integrity by validating piece hashes or a hash of entire
......@@ -2563,7 +2582,7 @@ For information on the *secret* parameter, see :ref:`rpc_auth`.
.. function:: aria2.unpauseAll([secret])
This method is equal to calling :func:`aria2.unpause` for every active/waiting
This method is equal to calling :func:`aria2.unpause` for every paused
download. This methods returns ``OK``.
.. function:: aria2.tellStatus([secret], gid[, keys])
......@@ -4124,7 +4143,9 @@ Specify the output file name
To specify the output file name for BitTorrent downloads, you need to know
the index of file in the torrent (see :option:`--show-files <-S>`). For
example, the output looks like this::
example, the output looks like this:
.. code-block:: text
idx|path/length
===+======================
......
......@@ -8,7 +8,9 @@ Control File (\*.aria2) Format
------------------------------
The control file uses a binary format to store progress information of
a download. Here is the diagram for each field::
a download. Here is the diagram for each field:
.. code-block:: text
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
......@@ -45,7 +47,7 @@ a download. Here is the diagram for each field::
``EXT`` (EXTENSION): 4 bytes
If LSB is 1(i.e. ``EXT[3]&1 == 1``), aria2 checks whether the saved
!InfoHash and current downloading one are the same. If they are not
InfoHash and current downloading one are the same. If they are not
the same, an exception is thrown. This is called "infoHashCheck"
extension.
......@@ -104,7 +106,9 @@ aria2 saves IPv4 DHT routing table in
``dht.dat`` and ``dht6.dat`` files use same binary encoding and have
following fields. All multi byte integers are in network byte
order. ``RSV`` (RESERVED) fields are reserved for future use. For now
they should be all zeros::
they should be all zeros:
.. code-block:: text
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
......
.\" Man page generated from reStructuredText.
.
.TH "ARIA2C" "1" "jan 16, 2017" "1.31.0" "aria2"
.TH "ARIA2C" "1" "mai 17, 2017" "1.32.0" "aria2"
.SH NAME
aria2c \- Utilitário para download super ultra rápido
.
......
.\" -*- mode: troff; coding: utf-8 -*-
.\" Man page generated from reStructuredText.
.
.TH "ARIA2C" "1" "янв. 16, 2017" "1.31.0" "aria2"
.TH "ARIA2C" "1" "мая 17, 2017" "1.32.0" "aria2"
.SH NAME
aria2c \- сверхбыстрая утилита загрузки
.
......@@ -90,6 +90,34 @@ stdin (стандартный поток ввода).
элемента очереди.
Смотрите также параметр \fI\%\-\-split\fP\&.
По умолчанию: \fB5\fP
.sp
\fBПРИМЕЧАНИЕ:\fP
.INDENT 7.0
.INDENT 3.5
\fI\%\-\-max\-concurrent\-downloads\fP ограничивает количество
элементов, которые загружаются одновременно.
\fI\%\-\-split\fP и \fI\%\-\-min\-split\-size\fP влияет
на количество соединений внутри каждого элемента.
Допустим у вас есть такой входной файл (см. параметр \fI\%\-\-input\-file\fP):
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
http://example.com/foo
http://example.com/bar
.ft P
.fi
.UNINDENT
.UNINDENT
.sp
Здесь 2 загружаемых элемента. aria2 может загрузить эти элементы
одновременно, если значение, заданное в \fI\%\-\-max\-concurrent\-downloads\fP,
больше или равно 2. В каждом загружаемом элементе, вы можете задать
количество соединений, используя \fI\%\-\-split\fP
и/или \fI\%\-\-min\-split\-size\fP\&.
.UNINDENT
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
......@@ -3236,7 +3264,7 @@ URI для каждого файла, будут добавлены имя и п
.TP
.B aria2.unpauseAll([secret])
Этот метод эквивалентен по вызову \fI\%aria2.unpause()\fP, для каждой
активной/ожидающей закачки. Этот метод возвращает \fBOK\fP\&.
приостановленной загрузки. Этот метод возвращает \fBOK\fP\&.
.UNINDENT
.INDENT 0.0
.TP
......
......@@ -60,6 +60,25 @@ HTTP(S)/FTP, они тут же могут выгружаться в BitTorrent-
Смотрите также параметр :option:`--split <-s>`.
По умолчанию: ``5``
.. note::
:option:`--max-concurrent-downloads` ограничивает количество
элементов, которые загружаются одновременно.
:option:`--split <-s>` и :option:`--min-split-size <-k>` влияет
на количество соединений внутри каждого элемента.
Допустим у вас есть такой входной файл (см. параметр :option:`--input-file <-i>`):
.. code-block:: text
http://example.com/foo
http://example.com/bar
Здесь 2 загружаемых элемента. aria2 может загрузить эти элементы
одновременно, если значение, заданное в :option:`--max-concurrent-downloads`,
больше или равно 2. В каждом загружаемом элементе, вы можете задать
количество соединений, используя :option:`--split <-s>`
и/или :option:`--min-split-size <-k>`.
.. option:: -V, --check-integrity[=true|false]
Проверить целостность файла путем подтверждения хэшей блоков или хэша
......@@ -2677,7 +2696,7 @@ RPC-метод `system.multicall` обрабатывается особым об
.. function:: aria2.unpauseAll([secret])
Этот метод эквивалентен по вызову :func:`aria2.unpause`, для каждой
активной/ожидающей закачки. Этот метод возвращает ``OK``.
приостановленной загрузки. Этот метод возвращает ``OK``.
.. function:: aria2.tellStatus([secret], gid[, keys])
......@@ -4229,7 +4248,9 @@ Checksum
Для указания выходного имени файла в BitTorrent-загрузках, вам нужно узнать
индекс файла в торренте (см.:option:`--show-files <-S>`). Например, вывод
выглядит следующим образом::
выглядит следующим образом:
.. code-block:: text
idx|path/length
===+======================
......
No preview for this file type