summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix various typosluzpaz2024-01-146-9/+9
| | | | Found via `codespell -q 3 -S "./deps,./ChangeLog.old,./LICENSE.OpenSSL,./doc/manual-src/pt,./doc/sphinx_themes/sphinx_rtd_theme/locale" -L ans,anull,clen,dependant,filetest,fo,hel,nd,orign,padd,parm,servent,tennant,worl,windows`
* Better entropy for getRandomBytesTatsuhiro Tsujikawa2022-04-092-1/+72
|
* Allow empty dist name in bencode which is needed for hybrid torrentTatsuhiro Tsujikawa2022-04-081-0/+10
|
* Fix a failed testTatsuhiro Tsujikawa2022-04-031-0/+1
|
* flush internal buffers before auto-saving control fileAli MJ Al-Nasrawy2020-06-171-1/+1
| | | | | | | | | | Otherwise, some pieces may be marked as finished in the control file though they have not yet been written to the storage file. This should prevent data loss and corruption when resuming downloads after an app crash. Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
* Enable IndentPPDirectivesTatsuhiro Tsujikawa2018-06-097-32/+32
|
* clang-format-6.0Tatsuhiro Tsujikawa2018-06-091-62/+60
|
* clang-format-5.0Tatsuhiro Tsujikawa2017-11-239-153/+115
|
* clang-formatTatsuhiro Tsujikawa2017-10-071-1/+2
|
* Add --peer-agent optionKurt Kartaltepe2017-07-111-0/+9
| | | | | Add --peer-agent for setting the version/user agent used in the extended handshake protocol for bittorrent.
* clang-format-4.0Tatsuhiro Tsujikawa2017-05-1910-125/+168
|
* spelling fixesklemens2017-03-201-246/+0
|
* spelling fixesklemens2017-03-203-2/+248
|
* new option content-disposition-default-utf8JimmyZ2016-12-312-291/+316
|
* configure: Use pkg-config to find libs whenever possibleMichał Górny2016-11-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Use pkg-config to find cppunit, libxml2 and expat. All those libraries provide pkg-config files, and in all of those cases the pkg-config macro is superior to the custom macros used currently. The advantages of pkg-config files include: - Explicit static linking support via --static. Currently, e.g. 'xml2-config --libs' prints all libraries needed for static linking when doing dynamic linking unnecessary, resulting in unnecessary direct deps. - Better cross-build support. You don't have to build the additional *-config tools for target. - Better multilib support. Per-ABI pkgconfig directories are commonly supported while packages usually fail to look for per-CHOST *-config variants. - Better override support. The current macros allow little to no result overrides, the pkg-config macros let you pass FOO_CFLAGS and FOO_LIBS manually. - Cleaner version checks. The code used in libxml.m4 is really creepy.
* clang-format-3.9Tatsuhiro Tsujikawa2016-10-158-84/+95
|
* Compile with openssl 1.1.0Tatsuhiro Tsujikawa2016-08-271-1/+1
| | | | | | | | | We moved @CPPUNIT_LIBS@ to later position. This is because in my development environment, it adds linker search directory which contains system default openssl, while I'd like to use my custom openssl installation. This fix is not universal, since other libraries can do the same thing. It is a bit hard to fix this properly because we mix -L and -l in a same variable.
* Make assertion holdTatsuhiro Tsujikawa2016-08-201-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
|