summaryrefslogtreecommitdiff
path: root/src/RpcMethod.h
Commit message (Collapse)AuthorAgeFilesLines
* Restart active download to apply previously not applicable optionsTatsuhiro Tsujikawa2016-05-061-1/+2
| | | | | | | | | | | | | | | Previously, we categorized options that can be used in aria2.changeOption RPC method into 2 categories. The options in one category can be applied on the fly, meaning that download continues to be active while applying options. Another category includes options which are only applicable when downloads are waiting or paused. In this change, when active download is ordered to change options which only applicable in waiting or paused state, it is now paused, and then automatically restarted. Although we have limited number of download concurrency, the pause and restart is done atomically, and the download is inserted at the front of the queue, it is picked up immediately if the concurrency regulation allows.
* make clang-format using clang-format-3.6Tatsuhiro Tsujikawa2015-12-271-6/+8
|
* Delay auth failures instead of PBKDF2Nils Maier2014-07-221-1/+1
| | | | Closes GH-256
* Implement new RPC authorization using --rpc-secret optionTatsuhiro Tsujikawa2014-02-021-0/+2
|
* Use std::unique_ptr for ValueBase object hierarchyTatsuhiro Tsujikawa2013-07-111-3/+3
|
* Require -std=c++11 and use std::shared_ptr instead of SharedHandleTatsuhiro Tsujikawa2013-06-221-5/+5
|
* Options for -i list is now available in aria2.changeOption.Tatsuhiro Tsujikawa2011-10-291-0/+3
| | | | | | | | | Options for -i list, except for PREF_CHECKSUM, PREF_DIR, PREF_DRY_RUN, PREF_INDEX_OUT, PREF_LOWEST_SPEED_LIMIT, PREF_MAX_CONNECTION_PER_SERVER, PREF_METALINK_BASE_URI, PREF_OUT, PREF_PIECE_LENGTH, PREF_SELECT_FILE, PREF_SPLIT, PREF_PAUSE and PREF_PARAMETERIZED_URI, are available in aria2.changeOption if the download is waiting state, including paused downloads.
* OptionHandler now knows its option can be used in -i list option,Tatsuhiro Tsujikawa2011-10-221-14/+3
| | | | | | changeable in aria2.changeOption or aria2.changeGlobalOption. OptionHandler also now its option is cumulative.
* Moved jsonRpc flag from RpcMethod to RpcRequest.Tatsuhiro Tsujikawa2011-06-151-12/+4
| | | | Now RpcMethod is stateless, so we can cache and reuse them.
* Renamed classes in abstract layer of RPC service from XmlRpc* to Rpc*.Tatsuhiro Tsujikawa2011-03-141-0/+121
Now JSON-RPC is available by default regardless of XML library. XML-RPC becomes available when XML library is available.