summaryrefslogtreecommitdiff
path: root/src/OptionHandlerFactory.cc
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* AppleTLS: Enable --certificateNils Maier2013-09-301-2/+11
| | | | Tested against self-signed CA with nginx
* Revert OptionHandlerFactory changesNils Maier2013-09-241-2/+12
|
* Teach Libssl backend to load .p12 filesNils Maier2013-09-221-12/+2
|
* Clean up if defined styleTatsuhiro Tsujikawa2013-09-171-3/+3
|
* Switch CA_BUNDLE to AC_DEFINENils Maier2013-08-161-0/+4
|
* Add --with-disk-cache configure optionNils Maier2013-08-161-0/+4
| | | | | | | Enables packagers more fine grained control over the default value without having to mess with config files. See GH-115
* Change defaults: Enable 16M disk cache by default.Nils Maier2013-08-121-1/+1
|
* Remove vbegin and vend in favor of std::begin and std::endTatsuhiro Tsujikawa2013-06-241-4/+2
|
* ParameterOptionHandler: Use initializer lists for paramsTatsuhiro Tsujikawa2013-06-221-43/+32
|
* Require -std=c++11 and use std::shared_ptr instead of SharedHandleTatsuhiro Tsujikawa2013-06-221-1/+1
|
* Revert d50021d045df809aa8e6debf1a7e5727dabcd95cTatsuhiro Tsujikawa2013-05-101-5/+0
| | | | | It is safe to use prealloc for default, because of legacy fs (e.g., vfat) usage in Android.
* Use trunc as default value for --file-allocation on Android buildTatsuhiro Tsujikawa2013-05-061-0/+5
|
* Fix compiler warningTatsuhiro Tsujikawa2013-05-061-2/+0
|
* LibUV: Reorder event poll preferenceNils Maier2013-04-281-8/+10
| | | | | *nix will keep epoll/kqueue/port as the default (when available), while Windows, lacking all of these, will default to libuv (when available)
* LibUV: Implement LibuvEventPollNils Maier2013-04-101-4/+9
| | | | | | | | | LibUV event will use the best available polling method on a system, kind of like aria2 does already with the different *EventPoll implementations. However, libuv may support different/newer polling mechanisms; for example on Windows it will use IO Completion Ports which are superior to select() ;)
* AppleTLS: Support credentials via KeyChain fingerprintsNils Maier2013-04-081-2/+11
|
* Remove default value for deprecated --enable-async-dns6 to suppress warningTatsuhiro Tsujikawa2013-04-031-1/+1
|
* Remove deprecated options: --enable-direct-io and --metalink-serversTatsuhiro Tsujikawa2013-04-021-26/+0
|
* Deprecate --enable-async-dns6Tatsuhiro Tsujikawa2013-04-021-5/+6
| | | | | | | | The IPv6 asynchronous name resolver is enabled if the host has at least one interface with IPv6 address configured (the loopback address will not be counted), which is roughly the same behaviour of the standard getaddrinfo(3). To disable IPv6 asynchronous name resolver, use --disable-ipv6.