Skip to content

Commit 35eca3d

Browse files
committed
patch: rebase
1 parent 31dacf7 commit 35eca3d

4 files changed

+17
-17
lines changed

aria2-0001-options-change-default-path-to-current-dir.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 1b7fec7ade79f2423ecfef7efd4b2ae7554022fa Mon Sep 17 00:00:00 2001
1+
From c33446e390e8d4fc79d69031d391eaf12dce1766 Mon Sep 17 00:00:00 2001
22
From: myfreeer <[email protected]>
33
Date: Tue, 5 Jun 2018 16:49:07 +0800
4-
Subject: [PATCH] options: change default path to current dir
4+
Subject: [PATCH 1/4] options: change default path to current dir
55

66
and try to load config files in current dir if exists
77
---
@@ -11,7 +11,7 @@ and try to load config files in current dir if exists
1111
3 files changed, 12 insertions(+), 6 deletions(-)
1212

1313
diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc
14-
index 4339c91..dbfe29e 100644
14+
index 3d76d33..cd00881 100644
1515
--- a/src/OptionHandlerFactory.cc
1616
+++ b/src/OptionHandlerFactory.cc
1717
@@ -1276,7 +1276,7 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers()
@@ -37,7 +37,7 @@ index 6214e84..7f89226 100644
3737
File f(path);
3838
std::string err;
3939
diff --git a/src/util.cc b/src/util.cc
40-
index be73a6e..4d50eaf 100644
40+
index 2e700de..cc2531d 100644
4141
--- a/src/util.cc
4242
+++ b/src/util.cc
4343
@@ -1805,9 +1805,12 @@ std::string getXDGDir(const std::string& environmentVariable,
@@ -71,5 +71,5 @@ index be73a6e..4d50eaf 100644
7171
}
7272
return filename;
7373
--
74-
2.17.0
74+
2.17.1
7575

aria2-0002-options-unlock-connection-per-server-limit.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
From ac269cf2b9c7e6896439b26ee422d33af30fbcd7 Mon Sep 17 00:00:00 2001
1+
From 733fa35774821b7c955a9f018d43de570aa98d17 Mon Sep 17 00:00:00 2001
22
From: myfreeer <[email protected]>
33
Date: Mon, 29 May 2017 22:11:33 +0800
4-
Subject: [PATCH 2/2] options: unlock connection-per-server limit
4+
Subject: [PATCH 2/4] options: unlock connection-per-server limit
55

66
---
77
src/OptionHandlerFactory.cc | 16 ++++++++--------
88
1 file changed, 8 insertions(+), 8 deletions(-)
99

1010
diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc
11-
index 79705aab..6ce0b946 100644
11+
index cd00881..5768f7b 100644
1212
--- a/src/OptionHandlerFactory.cc
1313
+++ b/src/OptionHandlerFactory.cc
1414
@@ -158,7 +158,7 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers()
@@ -84,5 +84,5 @@ index 79705aab..6ce0b946 100644
8484
op->addTag(TAG_FTP);
8585
op->addTag(TAG_HTTP);
8686
--
87-
2.12.1
87+
2.17.1
8888

aria2-0003-download-retry-on-slow-speed-and-reset.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 7e4a9461e83ff802e3e834e72039ed8b0703e24d Mon Sep 17 00:00:00 2001
1+
From 66524bee738e98742c908d93c993d0a78a2d9891 Mon Sep 17 00:00:00 2001
22
From: myfreeer <[email protected]>
33
Date: Sat, 18 Nov 2017 11:55:04 +0800
4-
Subject: [PATCH] download: retry on slow speed and conection close
4+
Subject: [PATCH 3/4] download: retry on slow speed and conection close
55

66
This would provide better speed on bad network conditions
77
---
@@ -11,7 +11,7 @@ This would provide better speed on bad network conditions
1111
3 files changed, 4 insertions(+), 3 deletions(-)
1212

1313
diff --git a/src/DownloadCommand.cc b/src/DownloadCommand.cc
14-
index 91042ef..f777dec 100644
14+
index 2db41e4..f49eb80 100644
1515
--- a/src/DownloadCommand.cc
1616
+++ b/src/DownloadCommand.cc
1717
@@ -306,7 +306,7 @@ void DownloadCommand::checkLowestDownloadSpeed() const
@@ -45,7 +45,7 @@ index 62862ff..1906173 100644
4545
// A2_LOG_NOTICE(fmt("num=%zu, amount=%d, bufq.size()=%zu, SEND=%d",
4646
// num, amount, bufq_.size(), slen));
4747
diff --git a/src/SocketCore.cc b/src/SocketCore.cc
48-
index d0a205f..79a90a3 100644
48+
index 77dc30c..537375a 100644
4949
--- a/src/SocketCore.cc
5050
+++ b/src/SocketCore.cc
5151
@@ -1009,7 +1009,7 @@ bool SocketCore::tlsHandshake(TLSContext* tlsctx, const std::string& hostname)
@@ -58,5 +58,5 @@ index d0a205f..79a90a3 100644
5858
? tlsSession_->getLastErrorString().c_str()
5959
: handshakeError.c_str()));
6060
--
61-
2.14.2
61+
2.17.1
6262

aria2-0004-option_processing-make-use-of-deamon-on-mingw.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
From fc988aa01b850c466d94f047af2b979affc9efaa Mon Sep 17 00:00:00 2001
1+
From 26816f5deb196c7000244b56edd55b17385381db Mon Sep 17 00:00:00 2001
22
From: myfreeer <[email protected]>
33
Date: Sat, 9 Jun 2018 15:24:29 +0800
4-
Subject: [PATCH] option_processing: make use of --deamon on mingw
4+
Subject: [PATCH 4/4] option_processing: make use of --deamon on mingw
55

66
---
77
src/option_processing.cc | 17 +++++++++++++++++
88
1 file changed, 17 insertions(+)
99

1010
diff --git a/src/option_processing.cc b/src/option_processing.cc
11-
index 652a3bd..f86efd4 100644
11+
index f9891fe..3952ed6 100644
1212
--- a/src/option_processing.cc
1313
+++ b/src/option_processing.cc
1414
@@ -319,6 +319,22 @@ error_code::Value option_processing(Option& op, bool standalone,

0 commit comments

Comments
 (0)