summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Support HTTP date ending "+0000" as well as "GMT".Tatsuhiro Tsujikawa2015-01-261-0/+7
|
* Revise getRandom facilitiesNils Maier2015-01-201-2/+46
| | | | | | | | | | | | | | Use one of the following to provide random bytes: - Windows CryptGenRandom - Linux getrandom (syscall interface to urandom, without nasty corner cases such as file descriptor exhaustion or re-linked /dev/urandom) - std::device_random (C++ random device, which usually will be urandom) This also equalizes util::getRandom and SimpleRandomizer (the former will now use the latter) instead of having essentially two different PRNG interfaces with potentially different quality. Closes GH-320
* Update .gitignoreTatsuhiro Tsujikawa2014-10-181-0/+2
|
* Use std::unique_ptr for DHTBucketTree's left and right pointersTatsuhiro Tsujikawa2014-09-131-66/+65
|
* Support Adler32 checksumTatsuhiro Tsujikawa2014-09-131-0/+16
| | | | | Adler32 checksum is available for --checksum option and hash element in Metalink files. Currently, we use Adler32 implementation in Zlib.
* Fix hash function comparatorTatsuhiro Tsujikawa2014-09-111-1/+1
|
* Replace A2_ARRAY_LEN with constexpr arraySizeTatsuhiro Tsujikawa2014-08-297-9/+9
|
* Remove request pre-authorization againNils Maier2014-07-221-8/+0
|
* Delay auth failures instead of PBKDF2Nils Maier2014-07-221-3/+4
| | | | Closes GH-256
* Fix test failure with --enable-libaria2release-1.18.6Tatsuhiro Tsujikawa2014-07-141-1/+1
|
* Fix compile error and warning with clangTatsuhiro Tsujikawa2014-07-122-8/+8
|
* Fix file length information in RPC response when length > 2GB is unknownTatsuhiro Tsujikawa2014-07-122-5/+5
| | | | | | | This commit fixes the bug that aria2.tellStopped RPC method returns total length and completedLength as 0 when file size is unknown in advance and turns out > 2GB in the end. This commit and addresses the performance degradation in this case.
* Fix big endianess support in InternalMessageDigest and PBKDF2Nils Maier2014-06-241-6/+0
| | | | | | | - Replace sha1/md5 implementation by ones from https://github.com/nmaier/crypto - Add endianess functionality fro https://github.com/nmaier/crypto Closes GH-239
* util::parseIntSegments: Return SegList<int>Tatsuhiro Tsujikawa2014-06-043-60/+44
|
* bittorrent::computeFastSet: Return std::vectorTatsuhiro Tsujikawa2014-06-041-6/+3
|
* FileEntry::getUris: Return std::vector<std::string>Tatsuhiro Tsujikawa2014-06-042-40/+32
|
* Support PREF_DIR change for Metalink filesTatsuhiro Tsujikawa2014-06-042-0/+10
| | | | | Reworked previous commit adeead6f0396e2f8551d1182972e277728fd6c8b, and now support changing PREF_DIR for Metalink downloads.
* Disable PBKDF2 load testNils Maier2014-05-311-2/+6
| | | | Closes #236
* Fix (unknown length) downloads larger than 2GiBNils Maier2014-05-256-19/+19
| | | | Closes #215
* Internally use HMAC in http authNils Maier2014-05-222-0/+189
| | | | | | To at least get constant time compare. Also fix incorrect parsing of the creds (were incorrectly stripped). Also add unit tests.
* Authorize RPC multicalls only once.Nils Maier2014-05-201-0/+8
| | | | | Cache the auth status afterwards and just assume the token still matches (within the same request, of course).
* Validate token using PBKDF2-HMAC-SHA1.Nils Maier2014-04-191-1/+1
| | | | | | | | This change should make token validation more resilient to: - timing attacks (constant time array compare) - brute-force/dictionary attacks (PBKDF2) Closes #220
* Add util::security (compare, HMAC, PBKDF2)Nils Maier2014-04-192-0/+420
| | | | See #220
* Remove ENABLE_MESSAGE_DIGEST, since we got the internal md, alwaysNils Maier2014-04-1714-87/+12
|
* Treat 30X response without Location header field as errorTatsuhiro Tsujikawa2014-02-051-1/+8
| | | | This is required to make segmented download work.
* Better handling of 30X HTTP status codesTatsuhiro Tsujikawa2014-02-051-15/+44
| | | | Reference: http://greenbytes.de/tech/tc/httpredirects/
* Implement new RPC authorization using --rpc-secret optionTatsuhiro Tsujikawa2014-02-021-0/+43
|
* Fix crash when metaurl contains unsupported URI or textTatsuhiro Tsujikawa2013-12-073-1/+26
|
* Limit number of opened file globally with --bt-max-open-files optionTatsuhiro Tsujikawa2013-11-171-2/+0
| | | | | | | | | | This change changes the behavior of --bt-max-open-files. Previously, it specifies the maximum number of opened files for each multi-file download. Since it is more useful to limit the number globally, the option now specifies the global limit. This change suggests that aria2.changeOption() method now ignores --bt-max-open-files and aria2.changeGlobalOption now reads it and dynamically change the limit.
* Refactor DownloadHandlerFactoryTatsuhiro Tsujikawa2013-11-104-19/+30
|
* Fix typoTatsuhiro Tsujikawa2013-11-061-12/+12
|
* TimeTest: Fix testElapsed() fail occasionallyTatsuhiro Tsujikawa2013-10-201-1/+1
|
* test: Fix stack overflowTatsuhiro Tsujikawa2013-10-061-2/+2
|
* Request: Remove previousUri_Tatsuhiro Tsujikawa2013-10-011-22/+2
| | | | | | Historically, the previousUri_ has different meaning from referer_, but in the course of development, they have the same value. This change remove previousUri_ in favor of referer_.
* util::percentEncodeMini: Fix regression bug removed unsignednessTatsuhiro Tsujikawa2013-09-301-0/+8
| | | | | srange-based for around std::string is convenient but several functions depend unsigned char for correctness and readability.
* Randomizer: Remove unused interfacesTatsuhiro Tsujikawa2013-09-281-9/+1
|
* Provide internal ARC4 implementationNils Maier2013-09-241-2/+4
| | | | | | Now you can build bittorrent support without without external libraries, meaning you can skip libnettle, libgmp, libgcrypt, GnuTLS and OpenSSL on OSX (for now).
* Add some md5 testsNils Maier2013-09-201-0/+8
|
* Add internal md5 and sha1 message digestsNils Maier2013-09-202-0/+14
|
* Set old cookie's creation-time to new cookie on replacementTatsuhiro Tsujikawa2013-09-201-5/+15
| | | | As described in http://tools.ietf.org/html/rfc6265#section-5.3
* Clean up if defined styleTatsuhiro Tsujikawa2013-09-171-2/+2
|
* Convert most 0/NULL pointers to nullptrNils Maier2013-08-2010-33/+33
| | | | Courtesy of llvm cpp11-migrate 3.3
* Use std::unique_ptr for Metalink objectsTatsuhiro Tsujikawa2013-07-125-234/+203
|
* Use std::unique_ptr for ValueBase object hierarchyTatsuhiro Tsujikawa2013-07-1119-499/+525
|
* DefaultBtMessageDispatcher: Remove unused members peerStorage_, pieceStorage_Tatsuhiro Tsujikawa2013-07-071-36/+0
|
* DownloadEngine: Use std::unique_ptr for eventPoll_Tatsuhiro Tsujikawa2013-07-063-3/+3
|