Commit Graph

5103 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa
b95d7fbfec Remove PeerStorage:scheduleForcedChokeRound since it is not effective 2016-06-04 22:11:51 +09:00
Tatsuhiro Tsujikawa
6b8611885b Unchoke not-uploading peer if we could not find 3 regular unchokers 2016-06-04 22:10:34 +09:00
Tatsuhiro Tsujikawa
482cf6aca4 Fasten seed/download on fast connection 2016-06-02 22:13:47 +09:00
Tatsuhiro Tsujikawa
a0706f5a44 Make seeder do more get_peers to announce its presence 2016-06-02 00:09:54 +09:00
Tatsuhiro Tsujikawa
9486663259 Increase DHT task concurrency to 15 2016-05-31 22:24:19 +09:00
Tatsuhiro Tsujikawa
b64ea39c7b Clang-format and small amends
mapaddr_ is always nullptr in this context, so no need to set to
nullptr again.
2016-05-31 22:21:17 +09:00
Tatsuhiro Tsujikawa
134c804b86 Merge branch 'c3V6a2Vy-fix-mmap-check' 2016-05-31 22:19:00 +09:00
Tatsuhiro Tsujikawa
eac72b9045 Merge branch 'fix-mmap-check' of https://github.com/c3V6a2Vy/aria2 into c3V6a2Vy-fix-mmap-check 2016-05-31 22:16:42 +09:00
Tatsuhiro Tsujikawa
3e00be26e8 Include local IP address to DHT GetPeers reply message
This is required when DHT is used in private network, where seeder is
initially not known to all nodes.  This functionality requires
--bt-external-ip is set since aria2 cannot figure out external IP
address to advertise in general.
2016-05-27 23:28:53 +09:00
suzker
fa43431974 fixed mmap failure check with MAP_FAILED flag 2016-05-27 02:07:02 -07:00
suzker
ef0a2e601f Compare filesize directly to the numeric max of size_t 2016-05-25 07:43:57 -07:00
suzker
43aea5c940 added filesize overflow check for mmap on 32bit os 2016-05-24 16:37:31 -07:00
Tatsuhiro Tsujikawa
c57259f8e7 Use standard percent-encode for tracker request query 2016-05-23 22:16:04 +09:00
Tatsuhiro Tsujikawa
d658fdecc6 Document about restart when certain option is changed by RPC method 2016-05-22 21:07:00 +09:00
Tatsuhiro Tsujikawa
9d40c47799 Merge branch 'master' into dynamic-select-file 2016-05-22 20:57:33 +09:00
Tatsuhiro Tsujikawa
0b906f40f1 Use expat-2.1.1 for mingw32 Docker build 2016-05-22 00:32:54 +09:00
Tatsuhiro Tsujikawa
5b5e08b216 Use expat-2.1.1 for binary builds 2016-05-22 00:30:56 +09:00
Tatsuhiro Tsujikawa
949a580a14 mingw32: Gain privilege before opening files 2016-05-18 22:59:46 +09:00
Tatsuhiro Tsujikawa
1603d8ea7b Merge branch 'refactor-bt-msg' 2016-05-16 12:37:54 +09:00
Tatsuhiro Tsujikawa
9727b5b256 Merge branch 'master' into dynamic-select-file 2016-05-16 12:27:14 +09:00
Tatsuhiro Tsujikawa
56a114746a Use std::make_shared for efficiency 2016-05-16 00:05:28 +09:00
Tatsuhiro Tsujikawa
cef9109070 Refactor BtBitfieldMessage 2016-05-16 00:03:02 +09:00
Tatsuhiro Tsujikawa
dae42d0cd0 Remove unused SimpleBtMessage::getMessageLength 2016-05-15 23:44:54 +09:00
Tatsuhiro Tsujikawa
a7237c69f7 Refactor BitTorrent message buffer usage 2016-05-15 23:40:52 +09:00
Tatsuhiro Tsujikawa
cc8375f0b0 Refactor BtHandshakeMessage 2016-05-15 22:00:16 +09:00
Tatsuhiro Tsujikawa
29c96d59ba Update NEWS 2016-05-15 19:26:44 +09:00
Tatsuhiro Tsujikawa
a37e8fecdd Update Android third-party library 2016-05-15 18:58:40 +09:00
Tatsuhiro Tsujikawa
724d036b3a Update bash_completion 2016-05-15 18:56:05 +09:00
Tatsuhiro Tsujikawa
9d41f159cd Bump up version number to 1.23.0 2016-05-15 18:51:36 +09:00
Tatsuhiro Tsujikawa
d821cb3133 Update AUTHORS 2016-05-15 18:50:59 +09:00
Tatsuhiro Tsujikawa
2449ee6a76 Simplify cache write
The previous cache write routine was too complex.  I'm sure I can
rewrite it to more elegantly.  But the primary motivation of this
complex logic is for disk activity reduction on Windows 7, and I
observed it on my old IDE disk.  I checked it again recently, and
there is no difference between with and without this complex logic.
For this reason, it was removed.  Will revert this change if many of
users are not happy with this.
2016-05-15 18:47:13 +09:00
Tatsuhiro Tsujikawa
bafbbe7c1d Allow subsecond value in ns cookie.txt file's expiry time field 2016-05-15 18:40:50 +09:00
Tatsuhiro Tsujikawa
6976ffed9e Adjust chromium cookie time 2016-05-15 17:58:01 +09:00
Tatsuhiro Tsujikawa
3443349fc3 Refactor 2016-05-14 19:50:58 +09:00
Tatsuhiro Tsujikawa
566cac5023 Merge pull request #646 from Arthur2e5/patch-1
import-po: iterate on glob, not ls output
2016-05-12 15:20:54 +02:00
Tatsuhiro Tsujikawa
ef9ab6c534 Merge pull request #647 from Arthur2e5/patch-2
po/README: deflate -> inflate
2016-05-12 15:20:12 +02:00
Mingye Wang
c140a52468 po/README: deflate -> inflate 2016-05-07 16:23:18 -04:00
Mingye Wang
c5b83fed36 import-po: iterate on glob, not ls output 2016-05-07 16:22:26 -04:00
Tatsuhiro Tsujikawa
8897d7ec70 Restart active download to apply previously not applicable options
Previously, we categorized options that can be used in
aria2.changeOption RPC method into 2 categories.  The options in one
category can be applied on the fly, meaning that download continues to
be active while applying options.  Another category includes options
which are only applicable when downloads are waiting or paused.

In this change, when active download is ordered to change options
which only applicable in waiting or paused state, it is now paused,
and then automatically restarted.  Although we have limited number of
download concurrency, the pause and restart is done atomically, and
the download is inserted at the front of the queue, it is picked up
immediately if the concurrency regulation allows.
2016-05-06 18:31:50 +09:00
Tatsuhiro Tsujikawa
e174b90ff2 Fix compile error 2016-05-02 23:51:16 +09:00
Tatsuhiro Tsujikawa
7c33676658 Merge pull request #641 from ITriskTI/patch-1
Update aria2c.rst
2016-04-29 15:55:40 +09:00
ITriskTI
47c5377fc9 Update aria2c.rst 2016-04-29 09:53:20 +03:00
Tatsuhiro Tsujikawa
94a45bfbfc Documented new options 2016-04-27 00:28:27 +09:00
Tatsuhiro Tsujikawa
db239c2853 Add --stderr option to redirect all stdout log output to stderr 2016-04-27 00:16:55 +09:00
Tatsuhiro Tsujikawa
aa863fa4d1 Add "hide" to --download-result option 2016-04-26 23:35:44 +09:00
Tatsuhiro Tsujikawa
3c637fa3d5 Fix downloaded metaurl torrent filename 2016-04-23 19:29:01 +09:00
Tatsuhiro Tsujikawa
1ce6ac0b23 Add error handling for sigaction, signal and strdup 2016-04-23 18:18:06 +09:00
Tatsuhiro Tsujikawa
b316b2cec5 clang-format 2016-04-21 23:03:24 +09:00
Tatsuhiro Tsujikawa
aab2472390 Remove trailing "." from SAN and CN 2016-04-21 23:02:58 +09:00
Tatsuhiro Tsujikawa
3bb2946437 Merge pull request #632 from ReadmeCritic/master
Update README URLs based on HTTP redirects
2016-04-20 00:25:31 +09:00