summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* WinTLS: Rewrite writeDatarefactor-wintls-writeTatsuhiro Tsujikawa2016-11-122-125/+182
| | | | | | | | | | | | | | | | We re-wrote WinTLSSession::writeData. The major points are: * Buffer is now preallocated once handshake is finished. Previously, they are allocated each time when we send one TLS record. * Schannel uses header, body and trailer for each secBuffer. Now we send them off at once using WSASend which is windows counterpart of sendv. Previously, we do memmove if some of them are truncated. * We don't try to send application data in WinTLSSession::closeConnection, since semantically we need same application data used to create TLS record before. Using 0 length data to finish sending buffered data looks like a hack.
* WinTLS: Fix busy loop on write errorTatsuhiro Tsujikawa2016-11-091-3/+2
|
* Support 1xx non-final responseTatsuhiro Tsujikawa2016-11-032-1/+17
|
* Don't download piece which is filtered out (e.g., --select-file)Tatsuhiro Tsujikawa2016-10-261-1/+6
| | | | | This commit fixes the bug that piece which is not requested by --select-file is downloaded in multi-file WebSeeding.
* clang-format-3.9Tatsuhiro Tsujikawa2016-10-1541-182/+229
|
* Restore LTLIBINTL in src/Makefile.amJuan Francisco Cantero Hurtado2016-09-291-1/+2
|
* Enable --keep-unfinished-download-result by defaultTatsuhiro Tsujikawa2016-09-262-5/+8
|
* Update copyright year to 2016Tatsuhiro Tsujikawa2016-09-261-1/+1
|
* Add --keep-unfinished-download-result optionTatsuhiro Tsujikawa2016-09-247-10/+75
| | | | | | | | | This option keeps unfinished download results even if doing so exceeds --max-download-result. This is useful if all unfinished downloads must be saved in session file (see --save-session option). Please keep in mind that there is no upper bound to the number of unfinished download result to keep. User should use this option only when they know the total number of downloads in advance.
* Fix -Wexpansion-to-defined warning with clang-3.9Tatsuhiro Tsujikawa2016-09-191-1/+7
| | | | | | | | | The error message was: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20160118/147239.html
* Fix bug that file name is not logged with --conditional-getTatsuhiro Tsujikawa2016-09-171-0/+13
|
* Add missing libssl_compat.h to SRCSTatsuhiro Tsujikawa2016-09-171-1/+2
|
* clang-formatrelease-1.27.0Tatsuhiro Tsujikawa2016-09-1610-34/+27
|
* Fix possible cause of crash after metadata downloadTatsuhiro Tsujikawa2016-09-052-1/+1
|
* Fix log messageTatsuhiro Tsujikawa2016-09-051-1/+1
|
* Remove custom ftruncate64 for AndroidFredrik Fornwall2016-09-035-297/+0
| | | | | | | | | The latest NDK versions support ftruncate64, so building a local copy of ftruncate64 is no longer needed. Also, the arm and x86 builds of ftruncate64 failed when targetting API level 21 or higher, as they include <linux/err.h> which are not present starting from API level 21.
* Fix typo found by Debian's LintianTatsuhiro Tsujikawa2016-09-032-3/+3
|
* Merge branch 'tobbez-fix-comment'Tatsuhiro Tsujikawa2016-08-301-1/+1
|\
| * Update comment to match codeTorbjörn Lönnemark2016-08-301-1/+1
| |
* | Add --save-not-found optionNils Maier2016-08-305-0/+24
| |
* | Simplify session serializerNils Maier2016-08-301-27/+17
|/
* Use default where possibleNils Maier2016-08-29271-368/+330
|
* WinTLS: Better errors (from WSA)Nils Maier2016-08-291-3/+3
|
* Compile with openssl 1.1.0Tatsuhiro Tsujikawa2016-08-274-6/+58
| | | | | | | | | 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-1/+17
| | | | | | 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.
* Revert "Remove false assertion"Tatsuhiro Tsujikawa2016-08-201-0/+1
| | | | This reverts commit 65b7205dfdc182a0d6a694547b2d5710dfd7466d.
* Remove false assertionTatsuhiro Tsujikawa2016-08-201-1/+0
| | | | | As of 4df7b540a2263b87577a8805b3ca08e5e3e4da65, the assertion no longer holds.
* Replace "/" with "-" in magnet dn name when used as in-memory download nameTatsuhiro Tsujikawa2016-08-011-1/+5
|
* clang-formatTatsuhiro Tsujikawa2016-07-219-18/+17
|
* Update --auto-file-renaming help text according to the manual pageTatsuhiro Tsujikawa2016-07-201-1/+2
|
* Extend maximum BitTorrent incoming payload size to 64KiBTatsuhiro Tsujikawa2016-07-201-1/+1
|
* correcting the copyright format error103yiran2016-07-201-0/+3
|
* correcting the copyright format error103yiran2016-07-201-0/+3
|
* correcting the copyright format error103yiran2016-07-201-0/+3
|
* correcting the copyright format error103yiran2016-07-201-0/+3
|
* correcting the copyright format error103yiran2016-07-201-0/+3
|
* correcting the copyright format error103yiran2016-07-201-0/+3
|
* correcting the copyright format error103yiran2016-07-201-0/+1
|
* correcting the copyright format error103yiran2016-07-201-0/+1
|
* Fix some compiler warningsNils Maier2016-07-196-7/+13
|
* Better auto-renamingNils Maier2016-07-192-3/+23
| | | | | | | | | | | | | | | | | | 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
* Log number of items loaded from input fileNils Maier2016-07-191-0/+4
|
* Use C++ style castTatsuhiro Tsujikawa2016-07-181-2/+3
|
* Fix help outputTatsuhiro Tsujikawa2016-07-181-2/+2
|
* Merge branch 'seed' of https://github.com/SSSSeb/aria2 into SSSSeb-seedTatsuhiro Tsujikawa2016-07-184-4/+4
|\
| * allow seconds for seed-time (fractional minutes)Sébastien Cabaniols2016-07-124-4/+4
| |
* | Link external libraries to libaria2 with --enable-libaria2Tatsuhiro Tsujikawa2016-07-171-2/+9
| |
* | Add offset value to Timer::clock::now() to treat 0 as special valueTatsuhiro Tsujikawa2016-07-142-5/+17
| |
* | Fix have entry removalTatsuhiro Tsujikawa2016-07-112-1/+3
| |
* | Change have entry indexing methodTatsuhiro Tsujikawa2016-07-1010-81/+93
| | | | | | | | Now use increasing sequence of integer rather than timer value.