summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Make assertion holdTatsuhiro Tsujikawa2016-08-281-0/+34
| | | | | | If we have peer which is already used, make addAndCheckoutPeer() fail. If peer is in unused list, first remove the old entry, and then add new one. This would make assertion in ~DefaultPeerStorage hold.
* clang-formatTatsuhiro Tsujikawa2016-07-212-8/+12
|
* Extend maximum BitTorrent incoming payload size to 64KiBTatsuhiro Tsujikawa2016-07-202-3/+5
|
* Fix some compiler warningsNils Maier2016-07-192-1/+3
|
* Better auto-renamingNils Maier2016-07-191-0/+53
| | | | | | | | | | | | | | | | | | Up until now aria2 file auto renaming worked by just appending a new unique number to the file path, behind the file name extension, if any, changing what most other programs consider the file extension in the process. Now, aria2 will attempt to insert the number before the file extension, leaving the extension intact, so that e.g. a ".jpg" still is a ".jpg" file and opens in your configured image viewer when clicking it. If a file has no extension (incl. so called "dot files"), the number will be appended to the file name as usual. Note: This is a potentially breaking change that might break third party scripts that rely on aria2 auto file renaming producing a certain format for renamed files. Please fix your scripts accordingly. Closes GH-709
* Change have entry indexing methodTatsuhiro Tsujikawa2016-07-102-7/+63
| | | | Now use increasing sequence of integer rather than timer value.
* Fix frequent interested/not interested message transmissionTatsuhiro Tsujikawa2016-07-092-29/+0
|
* Fix frequent choke/unchoke message transmissionTatsuhiro Tsujikawa2016-07-092-33/+0
|
* Fix warning "Cannot fid peer ... in usedPeers_"Tatsuhiro Tsujikawa2016-07-031-0/+7
|
* Retain peers obtained earlierTatsuhiro Tsujikawa2016-07-021-22/+26
|
* Use 1 in 2nd parameter of fwrite for consistencyTatsuhiro Tsujikawa2016-06-221-2/+4
|
* BitTorrent: Allow 32KiB requestTatsuhiro Tsujikawa2016-06-102-3/+3
| | | | | | It looks like the 32KiB is the default request size of python bittorrent client. Previously, aria2 only allowed maximum 16KiB request.
* Fix failed testTatsuhiro Tsujikawa2016-06-051-1/+1
|
* Remove PeerStorage:scheduleForcedChokeRound since it is not effectiveTatsuhiro Tsujikawa2016-06-041-2/+0
|
* Fasten seed/download on fast connectionTatsuhiro Tsujikawa2016-06-021-0/+2
|
* Include local IP address to DHT GetPeers reply messageTatsuhiro Tsujikawa2016-05-271-1/+34
| | | | | | | 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.
* Use standard percent-encode for tracker request queryTatsuhiro Tsujikawa2016-05-231-21/+21
|
* Remove unused SimpleBtMessage::getMessageLengthTatsuhiro Tsujikawa2016-05-153-3/+0
|
* Refactor BitTorrent message buffer usageTatsuhiro Tsujikawa2016-05-1517-59/+59
|
* Allow subsecond value in ns cookie.txt file's expiry time fieldTatsuhiro Tsujikawa2016-05-154-6/+25
|
* Adjust chromium cookie timeTatsuhiro Tsujikawa2016-05-151-0/+0
|
* Add bittorrent key to aria2.tellStopped statusTatsuhiro Tsujikawa2016-04-171-0/+29
|
* system.listNotifications RPC methodSonny Piers2016-04-081-0/+20
|
* Ignore floating number in torrent fileTatsuhiro Tsujikawa2016-03-171-0/+12
|
* Add following to aria2.tellStatus response key as reverse link for followedByTatsuhiro Tsujikawa2016-03-054-0/+15
|
* Don't add C++11 switch flags to CXXFLAGSTatsuhiro Tsujikawa2016-01-301-1/+1
|
* Add --enable-werror option to configure to enable warning flagsTatsuhiro Tsujikawa2016-01-221-1/+1
|
* Don't modify user variables (e.g., CFLAGS, LIBS, etc)Tatsuhiro Tsujikawa2016-01-221-10/+55
|
* Reduce delay in tracker requestTatsuhiro Tsujikawa2016-01-191-7/+32
| | | | | | | We eliminated 1 second delay between completion of name resolution for tracker request and time when it is actually issued. We also elimited 1 second delay after last torrent download exists and it is told to DHTInteractionCommand.
* UDP tracker: Use unsigned integer for transaction ID and connection IDTatsuhiro Tsujikawa2016-01-181-25/+20
|
* Send Want-Digest as per RFC 3230Tatsuhiro Tsujikawa2016-01-101-0/+49
|
* Refactor SocketCore::getPeerInfo, getAddrInfo to return Endpoint objectTatsuhiro Tsujikawa2016-01-095-19/+19
|
* clang-formatTatsuhiro Tsujikawa2016-01-051-1/+1
|
* Updating upload size and speed must be done separatelyTatsuhiro Tsujikawa2016-01-053-5/+5
|
* make clang-format using clang-format-3.6Tatsuhiro Tsujikawa2015-12-27213-5917/+6223
|
* Add system.listMethods RPC methodTatsuhiro Tsujikawa2015-12-261-0/+21
| | | | | | | | system.listMethods just returns the available RPC method names. It can be executed without secret token, because it just returns the method names, and does not alter anything. See GH-437
* Support content-range from non-compliant serverTatsuhiro Tsujikawa2015-12-191-0/+11
| | | | See GH-509
* Disable --deferred-input when --save-session is used togetherTatsuhiro Tsujikawa2015-11-281-1/+25
| | | | | | | | | | | | With --deferred-input=true, aria2 only reads input file to fill active download slots, while keeping input file open. Meanwhile, --save-session saves all download info inside memory, but this does not take into account of unread item in input file. This will lead to lose input data in saved session file. Also current BufferedFile implementation used to read/write input/output file take a lock on Windows. This effectively prevents session serializer from writing session data to the same file which is still kept open because of --deferred-input. See GH-493
* Base32 decode lowercased characters as wellTatsuhiro Tsujikawa2015-11-251-0/+3
|
* Remove content-length and content-range if transfer-encoding is givenTatsuhiro Tsujikawa2015-11-042-0/+37
| | | | See GH-473
* Make clang (OSX) happy againNils Maier2015-06-241-0/+1
|
* Use user-defined literal for k, m, and g (powers of 1024)Tatsuhiro Tsujikawa2015-06-2161-350/+357
|
* Use constexpr for macros defined in BtConstants.hTatsuhiro Tsujikawa2015-06-211-3/+3
|
* Use user-defined literals for time unitsTatsuhiro Tsujikawa2015-06-218-16/+16
|
* Rewrite Time with chronoTatsuhiro Tsujikawa2015-06-096-65/+25
|
* Replace timer facility with chrono libTatsuhiro Tsujikawa2015-06-0912-33/+38
|
* sftp: Add SFTP and libssh2 to feature summary, and add testsTatsuhiro Tsujikawa2015-05-121-0/+11
|
* Split UtilTest.cc into UtilTest1.cc and UtilTest2.ccTatsuhiro Tsujikawa2015-02-083-958/+1008
|
* Shuffle web-seeding URIsTatsuhiro Tsujikawa2015-02-071-0/+1
|
* Remove some left-over code from converting a test.Nils Maier2015-01-261-4/+0
| | | | Checking once with CPPUNIT_ASSERT_MESSAGE should suffice.