Tatsuhiro Tsujikawa
fa07d0be35
Fix uninitialized variable
2016-06-14 21:55:42 +09:00
Tatsuhiro Tsujikawa
2dd10c9645
Revert "Remove dead code"
...
This reverts commit fd024e6773
.
2016-06-12 09:52:58 +09:00
ITriskTI
0d02f12125
Update aria2c.rst
2016-06-09 21:49:47 +03:00
Tatsuhiro Tsujikawa
6425ec8684
Merge pull request #675 from ITriskTI/patch-1
...
local IP address to DHT
2016-06-10 01:13:20 +09:00
ITriskTI
21bac1ccc0
local IP address to DHT
...
for commit 3e00be26e8
2016-06-09 18:50:09 +03:00
Tatsuhiro Tsujikawa
fd024e6773
Remove dead code
2016-06-10 00:18:35 +09:00
Tatsuhiro Tsujikawa
e220c53849
BitTorrent: Allow 32KiB request
...
It looks like the 32KiB is the default request size of python
bittorrent client. Previously, aria2 only allowed maximum 16KiB
request.
2016-06-10 00:14:48 +09:00
Tatsuhiro Tsujikawa
c7d242e27d
Merge branch 'dynamic-select-file'
2016-06-07 21:13:30 +09:00
Tatsuhiro Tsujikawa
0d14444f0b
Merge branch 'master' into dynamic-select-file
2016-06-07 21:13:09 +09:00
Tatsuhiro Tsujikawa
887f7a6b90
Fix busy loop when upload rate limit hits
2016-06-06 23:41:33 +09:00
Tatsuhiro Tsujikawa
ae6067d2a9
Fix failed test
2016-06-05 11:30:43 +09:00
Tatsuhiro Tsujikawa
5ec84f9eae
Enable write socket check when there is pending messages to send
2016-06-05 11:26:41 +09:00
Tatsuhiro Tsujikawa
93bd6cfbb8
Disable opt unchoking for bad peer
2016-06-05 11:26:08 +09:00
Tatsuhiro Tsujikawa
22a91dfe12
Set Peer::chokingRequired(true) for all active peers
2016-06-05 11:22:20 +09:00
Tatsuhiro Tsujikawa
12b903f312
Set Peer::chokingRequired(true) for all active peer
2016-06-05 11:21:48 +09:00
Tatsuhiro Tsujikawa
e31a49b8ee
Don't unchoke peer which is not interested in us
2016-06-05 11:10:20 +09:00
Tatsuhiro Tsujikawa
ef9e67aeb2
Fix bug that evaluation of Peer::amChoking is negated
2016-06-05 11:09:30 +09:00
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