From 80e683c858588c86ab4fa2d71cc398186bf34aa9 Mon Sep 17 00:00:00 2001 From: P3TERX Date: Sun, 3 May 2020 04:06:50 +0800 Subject: [PATCH] Update README.md --- README.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9f7962a..5e5da6c 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,21 @@ [![GitHub forks](https://img.shields.io/github/forks/P3TERX/aria2-builder.svg?style=flat-square&label=Forks&logo=github)](https://github.com/P3TERX/aria2-builder/fork) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/P3TERX/aria2-builder/Aria2%20Builder?label=Actions&logo=github&style=flat-square) -Aria2 static builds for GNU/Linux - -## Downloads +Aria2 static builds for GNU/Linux with custom patches. [![GitHub release (latest by date)](https://img.shields.io/github/v/release/P3TERX/aria2-builder?style=for-the-badge)](https://github.com/P3TERX/aria2-builder/releases/latest) +## Changes + +* option `max-connection-per-server`: change maximum value to `∞` +* option `min-split-size`: change minimum value to `1K` +* option `piece-length`: change minimum value to `1K` +* download: retry on slow speed and connection close +* download: add option `retry-on-400` to retry on http 400 bad request, which only effective if `retry-wait` > 0 +* download: add option `retry-on-403` to retry on http 403 forbidden, which only effective if `retry-wait` > 0 +* download: add option `retry-on-406` to retry on http 406 not acceptable, which only effective if `retry-wait` > 0 +* download: add option `retry-on-unknown` to retry on unknown status code, which only effective if `retry-wait` > 0 + ## Installing ### Automatic script @@ -54,7 +63,7 @@ DOCKER_BUILDKIT=1 docker build \ github.com/P3TERX/aria2-builder ``` -**`dest`** can define the output directory. If there are no changes, two archive files will be generated in the current directory after the work is completed. +**`dest`** can define the output directory. If there are no changes, there will be an archive file in the current directory when the build is completed. ``` $ ls -l -rw-r--r-- 1 p3terx p3terx 3744106 Jan 17 20:24 aria2-1.35.0-static-linux-amd64.tar.gz @@ -68,7 +77,7 @@ DOCKER_BUILDKIT=1 docker build \ -o type=local,dest=. \ github.com/P3TERX/aria2-builder ``` -> **`BUILDER_IMAGE`** variable defines the system image used for the build. In general, platforms other than `armhf` don't require it. +> **`BUILDER_IMAGE`** variable defines the system image used for the build. In general, platforms other than `armhf` don't require it. > **`BUILD_SCRIPT`** variable defines the script used for the cross build. ## External links @@ -91,6 +100,7 @@ DOCKER_BUILDKIT=1 docker build \ ### Credits * [q3aql/aria2-static-builds](https://github.com/q3aql/aria2-static-builds) +* [myfreeer/aria2-build-msys2](https://github.com/myfreeer/aria2-build-msys2) ## Licence