Commit Graph

3756 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa
67fa274578 Add test when instance-length is 0 2013-02-21 00:42:37 +09:00
Tatsuhiro Tsujikawa
38fc5de154 doc: Specify static file explicitly 2013-02-19 23:34:28 +09:00
Tatsuhiro Tsujikawa
e8491b989b Add Portuguese manual
This translation is based on aria2 version 1.15.2 manual.
Contributed by Gilberto dos Santos Alves
2013-02-19 23:22:22 +09:00
Tatsuhiro Tsujikawa
4095b2ec6b Update doc 2013-02-19 22:14:18 +09:00
Tatsuhiro Tsujikawa
7c2404db5e Set language=ru in ru/conf.py.in 2013-02-18 00:33:02 +09:00
Tatsuhiro Tsujikawa
68919a2412 Update doc css 2013-02-18 00:31:51 +09:00
Tatsuhiro Tsujikawa
b3acf4d393 Rewrite cookie_helper::reverseDomainLevel() 2013-02-16 22:51:58 +09:00
Tatsuhiro Tsujikawa
61665d2c26 Set sa_mask when setting signal handler 2013-02-14 21:51:30 +09:00
Tatsuhiro Tsujikawa
8e3ae3b76c Use _exit() instead of exit() where appropriate 2013-02-14 01:01:06 +09:00
Tatsuhiro Tsujikawa
45a128a7e8 Add test for saving finished download with force-save option 2013-02-04 21:56:48 +09:00
Tatsuhiro Tsujikawa
3fc45edaa7 Fix bug that active downloads are not saved with --save-session-interval 2013-02-04 21:50:09 +09:00
Tatsuhiro Tsujikawa
d1c88fbabf Bump up version number to 1.16.3 release-1.16.3 2013-02-03 19:29:03 +09:00
Tatsuhiro Tsujikawa
b86da6b7b2 Update NEWS 2013-02-03 19:28:14 +09:00
Tatsuhiro Tsujikawa
98e7018599 Fix failure to set TCP_NODELAY on Windows
On Windows setting TCP_NODELAY after non-blocking connect fails
at least on Windows 7.
2013-02-03 19:09:06 +09:00
Tatsuhiro Tsujikawa
1c9cfccac4 Fix invalid iterator handling when deleting RequestGroup 2013-02-03 18:18:28 +09:00
Tatsuhiro Tsujikawa
0a4b21e33b makerelease: Provide ANDROID_HOME from outside release-1.16.2 2013-02-03 00:19:50 +09:00
Tatsuhiro Tsujikawa
85cd65a664 Add debug log for aligned cache write 2013-02-02 21:28:52 +09:00
Tatsuhiro Tsujikawa
13975f66a2 test: Add missing filelist2.txt to EXTRA_DIST 2013-02-02 21:22:18 +09:00
Tatsuhiro Tsujikawa
b9ee9a1195 doc: Customize theme 2013-02-02 20:57:35 +09:00
Tatsuhiro Tsujikawa
561f0b3e29 Use std::deque instead of std::list in IndexedList
We choose faster iteration over rare slower deletion in the middle.
2013-02-01 00:03:47 +09:00
Tatsuhiro Tsujikawa
643e7222b0 Update NEWS 2013-01-29 22:35:03 +09:00
Tatsuhiro Tsujikawa
1639ca5b5b Update bash_completion 2013-01-29 22:22:15 +09:00
Tatsuhiro Tsujikawa
a503481701 Bump up version number to 1.16.2 2013-01-29 21:39:41 +09:00
Tatsuhiro Tsujikawa
de9697fc47 Fix compiler warning 2013-01-29 21:38:58 +09:00
Tatsuhiro Tsujikawa
e583717144 Increase MAX_PEER_LIST_SIZE to 512
We definitely need some tests to determine this value.
2013-01-28 21:36:52 +09:00
ITriskTI
f8cb9b67de Update and fixed some bugs 2013-01-27 21:12:55 +03:00
Tatsuhiro Tsujikawa
382cb9a191 Document about k and m can be used as well as K and M. 2013-01-27 21:13:24 +09:00
Tatsuhiro Tsujikawa
988878930e Check SSL_OP_NO_COMPRESSION is available before using it 2013-01-27 17:32:06 +09:00
Tatsuhiro Tsujikawa
a722500d62 Make DefaultPeerStorage::droppedPeers_ distinct 2013-01-26 19:00:03 +09:00
Tatsuhiro Tsujikawa
3a19b65dd7 Rename /BadCondition/ in Peer to /Drop/ 2013-01-26 18:50:48 +09:00
Tatsuhiro Tsujikawa
91b26ab2a8 DefaultPeerStorage::addBadPeer: Updating eoi is not required after erasure 2013-01-26 18:41:43 +09:00
Tatsuhiro Tsujikawa
1e4f301ec1 Remove PeerStorage::getActivePeers() and add getUsedPeers() instead
PeerStorage::getUsedPeers() returns non-active peers, so caller must
call Peer::isActive() to get active peers.
2013-01-26 18:36:09 +09:00
Tatsuhiro Tsujikawa
ba69f5c0c3 Refactor peer list management in DefaultPeerStorage
Peer list is now divided into 2: unusedPeers_ and usedPeers_.
Duplicate check is done using std::set by comparing pair of IP address
and port. For this, only IP address and port given to the Peer
constructor are used. In other words, TCP port received from extended
message is not used for this purpose.
2013-01-26 17:50:06 +09:00
Tatsuhiro Tsujikawa
8524ac3806 Code cleanup 2013-01-25 00:10:11 +09:00
Tatsuhiro Tsujikawa
de394bbf61 DefaultPeerStorage::addPeer: Remove unnecessary '=' 2013-01-25 00:08:49 +09:00
Tatsuhiro Tsujikawa
550ac8c074 Fix bug returnPeer is not called if sequence_ == INITIATOR_SEND_KEY
In InitiatorMSEHandshakeCommand, when aborting connection, we must
return peer to the PeerStorage. But it is not done if sequence_ is
INITIATOR_SEND_KEY. This causes stale Peer objects whose usedBy()
returns true eventually occupies peer list and aria2 cannot make any
connections.
2013-01-25 00:01:43 +09:00
Tatsuhiro Tsujikawa
32a3c441af Fix bug: wrong parenthesis position in the condition 2013-01-24 00:04:58 +09:00
Tatsuhiro Tsujikawa
3b7566faf1 Rewritten util::uitos() 2013-01-16 23:30:02 +09:00
Tatsuhiro Tsujikawa
1c72b80aa5 Revert 53dde0a9
Reverted to the original strategy, but some values are tweaked.
Without TCP_NODELAY, 53dde0a9 does not work well.
2013-01-15 23:50:12 +09:00
Tatsuhiro Tsujikawa
bf4ea63a66 Disable TCP_NODELAY for BitTorrent
To make Request messages more often packed into 1 packet.
2013-01-15 23:17:21 +09:00
Tatsuhiro Tsujikawa
e6b0274685 Remove reqNumToCreate constraint when creating request
It really degrades download speed.
2013-01-15 23:07:08 +09:00
Tatsuhiro Tsujikawa
df0be5e7f0 Cosmetic change 2013-01-15 21:57:35 +09:00
Tatsuhiro Tsujikawa
88580da587 Remove Append and StringAppend 2013-01-15 21:46:03 +09:00
Tatsuhiro Tsujikawa
6a976a4118 Accept k and m as well as K and M in util::getRealSize() 2013-01-15 21:36:25 +09:00
Tatsuhiro Tsujikawa
851eb137c1 Reverted UB_MAX_OUTSTANDING_REQUEST to 256 2013-01-15 00:33:40 +09:00
Tatsuhiro Tsujikawa
53dde0a9ae Download rate based strategy to increase outstanding request
This strategy performs better than old one in high latency
environment.
2013-01-15 00:02:40 +09:00
Tatsuhiro Tsujikawa
2e216a9403 Fix unit test error 2013-01-14 21:34:33 +09:00
Tatsuhiro Tsujikawa
d05ef28104 Avoid tiny packet for Have and Request message 2013-01-14 21:02:58 +09:00
Tatsuhiro Tsujikawa
d8f5887bbe Increase amount to 24K to pack Piece header and payload; fix missing goto 2013-01-14 21:01:08 +09:00
Tatsuhiro Tsujikawa
63b6075c91 Pack Piece message header and body into one chunk 2013-01-14 18:09:40 +09:00