summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* 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
|