summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash in HttpSkipResponseCommand ctorNils Maier2013-12-241-1/+1
| | | | (Regression from the memory holes stuff; missed to commit :p)
* Run DHT if torrent is private; but don't use DHT for that torrentTatsuhiro Tsujikawa2013-12-201-39/+26
|
* FileEntry: Pass by value for simple setter functionsTatsuhiro Tsujikawa2013-12-152-9/+9
|
* Fix broken EXTRA_DISTNils Maier2013-12-091-1/+0
|
* Stuff memory holesNils Maier2013-12-0928-351/+368
| | | | | | | | | | | | | | | | | | Padding changes on x86_64: - RequestGroup: 29 -> 5 bytes - DownloadContext: 25 -> 1 bytes - Cookie: 20 -> 4 bytes - Command: 8 -> 0 bytes (affects many derived as well) - HttpRequest: 20 -> 4 bytes - DownloadCommand: 18 -> 2 bytes - TimeBasedCommand: 14 -> 6 bytes - AbstractCommand: 13 -> 5 bytes - HttpSkipResponseCommand: 12 -> 4 bytes - FileEntry: 10 -> 2 bytes - DownloadResult: 15 -> 7 bytes - UriStruct: 12 -> 4 bytes - Piece: 11 -> 3 bytes - BitfieldMan -> 11 -> 3 bytes
* Remove a dead store in PieceNils Maier2013-12-091-1/+0
|
* Add WinTLS to FeatureConfig::usedLibsNils Maier2013-12-091-0/+3
|
* It is AppleTLS (everywhere else)Nils Maier2013-12-091-1/+1
|
* Fix warning in AppleTLSNils Maier2013-12-091-1/+1
|
* Fix crash when metaurl contains unsupported URI or textTatsuhiro Tsujikawa2013-12-071-1/+1
|
* Fix bad fork() return value handlingTatsuhiro Tsujikawa2013-12-061-1/+1
|
* ColorizedStreamBuf::str: Append character prefix to stream directlyTatsuhiro Tsujikawa2013-11-231-3/+1
|
* Use some colors in progress reports (where available)Nils Maier2013-11-214-29/+334
|
* Implement basic color support for the Windows consoleNils Maier2013-11-213-59/+230
| | | | Only \033[*m (SGR) is supported, with a 16+16 color terminal.
* AppleTLS: Implement PKCS12 loading.Nils Maier2013-11-202-31/+144
|
* Limit number of opened file globally with --bt-max-open-files optionTatsuhiro Tsujikawa2013-11-1710-37/+92
| | | | | | | | | | 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.
* Use move for XML parserTatsuhiro Tsujikawa2013-11-1023-269/+263
|
* Refactor DownloadHandlerFactoryTatsuhiro Tsujikawa2013-11-1020-345/+235
|
* Code cleanupTatsuhiro Tsujikawa2013-11-102-89/+72
|
* Don't fail multiple concurrent dl same file if auto-file-renaming is enabledTatsuhiro Tsujikawa2013-11-084-33/+27
|
* Fix typoTatsuhiro Tsujikawa2013-11-063-3/+3
|
* Code cleanupTatsuhiro Tsujikawa2013-11-011-2/+2
|
* Remove nativeToUtf8 and utf8ToNativeTatsuhiro Tsujikawa2013-11-013-69/+4
| | | | | They are now not needed since we use Windows specific command-line argument converter.
* mingw32: Use CommandLineToArgvW() and GetCommandLineW() to read cmd-line argsTatsuhiro Tsujikawa2013-11-011-0/+24
| | | | This change enables aria2 to read unicode characters in command-line.
* Peer: Use std::unique_ptr for res_Tatsuhiro Tsujikawa2013-10-262-7/+4
|
* DefaultPeerStorage: Code cleanupTatsuhiro Tsujikawa2013-10-262-21/+20
|
* DefaultPeerStorage: Add warn log when Peer::usedBy is non zero on checkoutPeerTatsuhiro Tsujikawa2013-10-261-0/+5
|
* DefaultPeerStorage: Log origPort in checkoutPeer and returnPeerTatsuhiro Tsujikawa2013-10-261-4/+4
| | | | Also make the log level warning when the returned peer is not found.
* Fix missing sha1.h and md5.h in Makefile.amTatsuhiro Tsujikawa2013-10-201-1/+1
|
* Update docTatsuhiro Tsujikawa2013-10-201-1/+1
|
* Remove log message "TLS else" as this function called repeatedlyTatsuhiro Tsujikawa2013-10-081-1/+0
|
* LibsslTLSContext: Remove weak cipher suiteTatsuhiro Tsujikawa2013-10-081-0/+6
|
* Don't log "TLS Handshaking" twice or moreTatsuhiro Tsujikawa2013-10-071-1/+1
|
* Request: Remove previousUri_Tatsuhiro Tsujikawa2013-10-014-17/+4
| | | | | | 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_.
* WinTLS: Enable --certifcate supportNils Maier2013-09-301-0/+1
|
* AppleTLS: Enable --certificateNils Maier2013-09-303-9/+17
| | | | Tested against self-signed CA with nginx
* WinTLS: Fix PKCS12 loadingNils Maier2013-09-301-20/+31
| | | | | It appears that, contrary to most documentation, CERT_CONTEXT* is eaten alive by AcquireCredentialsHandle(). Hence you cannot really reuse that.
* util.cc: Remove uselss inline staticTatsuhiro Tsujikawa2013-09-301-2/+0
|
* util::percentEncodeMini: Fix regression bug removed unsignednessTatsuhiro Tsujikawa2013-09-301-4/+6
| | | | | srange-based for around std::string is convenient but several functions depend unsigned char for correctness and readability.
* Implement WinTLSNils Maier2013-09-306-1/+1324
|
* WinMessgeDigestImpl: gcc-4.6 does not support .emplace() yetNils Maier2013-09-291-3/+3
|
* MessageDigestImpl.h: Simplify hash_info_t accessTatsuhiro Tsujikawa2013-09-281-6/+2
|
* Randomizer: Remove unused interfacesTatsuhiro Tsujikawa2013-09-283-29/+3
|
* SimpleRandomizer: Use std::randomTatsuhiro Tsujikawa2013-09-283-18/+29
|
* Log exception; throw error if loading private key and/or certificate failedTatsuhiro Tsujikawa2013-09-261-2/+7
|
* SimpleRandmizer: Fix certain bits generated by getRandomBytes are always 0Tatsuhiro Tsujikawa2013-09-261-4/+5
| | | | | | | | This is because in Linux RAND_MAX is 2**31-1 and we used int32_t to hold random number from random() and got each bytes. This means that highest bit is always unset. In little endian system, every 4n-th (n >=0) byte has highest bit is unset. To fix this, we just use lower 2 bytes of random().
* Move OpenSSL_add_all_algorithms() to Platform::setUp()Tatsuhiro Tsujikawa2013-09-262-3/+2
|
* Include prefs.h instead of typedef PrefPtr everywhereTatsuhiro Tsujikawa2013-09-269-16/+7
|
* uri.cc: Use auto instead of adhoc typedefTatsuhiro Tsujikawa2013-09-261-6/+4
|
* InternalDHKeyExchange: Remove unused dtorTatsuhiro Tsujikawa2013-09-261-1/+0
|