summaryrefslogtreecommitdiff
path: root/src/OptionHandlerFactory.cc
Commit message (Collapse)AuthorAgeFilesLines
* add no-want-digest-header optioncarsonzhu2022-04-031-0/+10
|
* Drop SSLv3.0 and TLSv1.0 and add TLSv1.3Tatsuhiro Tsujikawa2019-04-071-2/+2
| | | | TLSv1.3 support is added for GNUTLS and OpenSSL.
* Enable IndentPPDirectivesTatsuhiro Tsujikawa2018-06-091-6/+6
|
* clang-format-5.0Tatsuhiro Tsujikawa2017-11-231-6/+6
|
* clang-formatTatsuhiro Tsujikawa2017-10-071-2/+2
|
* Add --peer-agent optionKurt Kartaltepe2017-07-111-0/+6
| | | | | Add --peer-agent for setting the version/user agent used in the extended handshake protocol for bittorrent.
* Add --bt-load-saved-metadata optionTatsuhiro Tsujikawa2017-05-221-0/+10
| | | | | | | Before getting torrent metadata from DHT when downloading with magnet link, first try to read file saved by --bt-save-metadata option. If it is successful, then skip downloading metadata from DHT. By default, this feature is turned off.
* clang-format-4.0Tatsuhiro Tsujikawa2017-05-191-6/+6
|
* new option content-disposition-default-utf8JimmyZ2016-12-311-0/+12
|
* Expand ${HOME} to user's home directory in several optionsTatsuhiro Tsujikawa2016-11-231-57/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following options implement this substitution: * --ca-certificate * --certificate * --dht-file-path * --dht-file-path6 * --dir * --input-file * --load-cookies * --log * --metalink-file * --netrc-path * --on-bt-download-complete * --on-download-complete * --on-download-error * --on-download-start * --on-download-stop * --on-download_pause * --out * --private-key * --rpc-certificate * --rpc-private-key * --save-cookies * --save-session * --server-stat-if * --server-stat-of * --torrent-file
* clang-format-3.9Tatsuhiro Tsujikawa2016-10-151-6/+6
|
* Enable --keep-unfinished-download-result by defaultTatsuhiro Tsujikawa2016-09-261-1/+1
|
* Add --keep-unfinished-download-result optionTatsuhiro Tsujikawa2016-09-241-0/+9
| | | | | | | | | 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.
* clang-formatrelease-1.27.0Tatsuhiro Tsujikawa2016-09-161-3/+3
|
* Add --save-not-found optionNils Maier2016-08-301-0/+11
|
* clang-formatTatsuhiro Tsujikawa2016-07-211-2/+2
|
* allow seconds for seed-time (fractional minutes)Sébastien Cabaniols2016-07-121-1/+1
|
* Add --stderr option to redirect all stdout log output to stderrTatsuhiro Tsujikawa2016-04-271-0/+7
|
* Add "hide" to --download-result optionTatsuhiro Tsujikawa2016-04-261-3/+3
|
* Merge branch 'master' into random-webseedingTatsuhiro Tsujikawa2016-03-261-1029/+572
|\
| * clang-formatTatsuhiro Tsujikawa2016-03-261-5/+3
| |
| * Give advanced tag to optimize-concurrent-downloads optionTatsuhiro Tsujikawa2016-03-161-10/+10
| |
| * Added support for a dynamic management of the number of concurrent downloads ↵oliviercommelarbre2016-03-161-0/+10
| | | | | | | | as a function of the overall bandwidth observed
| * Add --max-mmap-limit optionTatsuhiro Tsujikawa2016-01-291-0/+10
| | | | | | | | | | | | | | | | Set the maximum file size to enable mmap (see --enable-mmap option). The file size is determined by the sum of all files contained in one download. For example, if a download contains 5 files, then file size is the total size of those files. If file size is strictly greater than the size specified in this option, mmap will be disabled.
| * make clang-format using clang-format-3.6Tatsuhiro Tsujikawa2015-12-271-1040/+543
| |
| * Add --bt-enable-hook-after-hash-check optionTatsuhiro Tsujikawa2015-11-291-0/+12
| | | | | | | | | | | | | | This option sets flag which allows hook command invocation after hash check (see -V option) in BitTorrent download. By default, when hash check succeeds, the command given by --on-bt-download-complete is executed. To disable this action, give false to this option.
| * Add --socket-recv-buffer-size optionTatsuhiro Tsujikawa2015-11-281-0/+10
| | | | | | | | | | | | | | | | Set the maximum socket receive buffer in bytes. Specifing 0 will disable this option. This value will be set to socket file descriptor using SO_RCVBUF socket option with setsockopt() call. See GH-487 about the usecase of this option
* | Merge branch 'master' into random-webseedingTatsuhiro Tsujikawa2015-10-031-9/+28
|\|
| * Increase --select-file upper bound to 1m for torrent containing lots of filesTatsuhiro Tsujikawa2015-07-081-1/+1
| |
| * Use user-defined literal for k, m, and g (powers of 1024)Tatsuhiro Tsujikawa2015-06-211-3/+2
| |
| * Make config and cache files conform to XDGVasilij Schneidermann2015-06-021-3/+3
| | | | | | | | | | | | | | See http://standards.freedesktop.org/basedir-spec/latest/ for further details. This implementation decides the default based on whether a file exists at the legacy location, if it doesn't, it picks the XDG-conforming location instead.
| * Add --ssh-host-key-md optionTatsuhiro Tsujikawa2015-05-161-0/+11
| | | | | | | | | | | | | | | | | | Set checksum for SSH host public key. Use same syntax with --checksum option. TYPE is hash type. The supported hash type is sha-1 or md5. DIGEST is hex digest. For example: sha-1=b030503d4de4539dc7885e6f0f5e256704edf4c3. This option can be used to validate server's public key when SFTP is used. If this option is not set, which is default, no validation takes place.
| * Allow netrc-path to be specified in the config fileRyan Steinmetz2015-05-141-2/+1
| |
| * Document --multiple-interface optionTatsuhiro Tsujikawa2015-04-221-10/+10
| | | | | | | | | | Thic commit documents --multiple-interface option, and move option handler for it to the place alphabetical order as we do usually
| * multiple interface support for link aggregationSarim Khan2015-04-211-0/+10
| | | | | | | | fix: wrong variable
* | Add --stream-piece-selector=randomTatsuhiro Tsujikawa2015-02-141-1/+1
|/
* Add --bt-force-encryption optionTatsuhiro Tsujikawa2015-01-121-0/+12
| | | | | | | | This option requires BitTorrent message payload encryption with arc4. This is a shorthand of --bt-requre-crypto --bt-min-crypto-level=arc4. If true is given, deny legacy BitTorrent handshake and only use Obfuscation handshake and always encrypt message payload. This option defaults to false.
* Add --min-tls-version optionTatsuhiro Tsujikawa2014-12-061-0/+11
| | | | | The --min-tls-version option specifies minimum SSL/TLS version to enable. Possible Values: SSLv3, TLSv1, TLSv1.1, TLSv1.2 Default: TLSv1
* Add --bt-detach-seed-only optionTatsuhiro Tsujikawa2014-10-141-0/+9
| | | | | | | | | | This option excludes seed only downloads when counting concurrent active downloads (-j option). This means that if -j3 is given and this option is turned on and 3 downloads are active and one of those enters seed mode, then it is excluded from active download count (thus it becomes 2), and the next download waiting in queue gets started. But be aware that seeding item is still recognized as active download in RPC method.
* Try to set sane limits for RLIMIT_NO_FILENils Maier2014-07-221-0/+19
| | | | | | | E.g. on OSX the default is 256, which isn't exactly compatible with torrent downloads. Closes GH-257
* Add --pause-metadata optionTatsuhiro Tsujikawa2014-06-211-0/+13
| | | | | | | | | This option pauses downloads created as a result of metadata download. There are 3 types of metadata downloads in aria2: (1) downloading .torrent file. (2) downloading torrent metadata using magnet link. (3) downloading metalink file. These metadata downloads will generate downloads using their metadata. This option pauses these subsequent downloads.
* New round of clang-modernizeNils Maier2014-05-291-2/+2
|
* Remove ENABLE_MESSAGE_DIGEST, since we got the internal md, alwaysNils Maier2014-04-171-8/+0
|
* Don't allow empty string for --rpc-secret optionTatsuhiro Tsujikawa2014-02-191-3/+4
|
* Merge branch 'dscp-support' of https://github.com/iavael/aria2 into ↵Tatsuhiro Tsujikawa2014-02-041-0/+9
|\ | | | | | | | | | | | | | | | | iavael-dscp-support Conflicts: src/prefs.cc src/prefs.h src/usage_text.h
| * Added DSCP supportAlexander Amanuel2014-01-281-0/+9
| |
* | Add future deprecation warning to --rpc-user and --rpc-passwdTatsuhiro Tsujikawa2014-02-021-6/+11
| |
* | Implement new RPC authorization using --rpc-secret optionTatsuhiro Tsujikawa2014-02-021-0/+8
| |
* | Add --enable-color option to enable/disable terminal color outputTatsuhiro Tsujikawa2014-01-301-0/+9
|/
* 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.