summaryrefslogtreecommitdiff
path: root/src/RpcMethod.cc
Commit message (Collapse)AuthorAgeFilesLines
* make clang-format using clang-format-3.6Tatsuhiro Tsujikawa2015-12-271-37/+34
|
* Remove request pre-authorization againNils Maier2014-07-221-3/+1
|
* Delay auth failures instead of PBKDF2Nils Maier2014-07-221-2/+5
| | | | Closes GH-256
* Authorize RPC multicalls only once.Nils Maier2014-05-201-1/+3
| | | | | Cache the auth status afterwards and just assume the token still matches (within the same request, of course).
* Validate token using PBKDF2-HMAC-SHA1.Nils Maier2014-04-191-4/+2
| | | | | | | | This change should make token validation more resilient to: - timing attacks (constant time array compare) - brute-force/dictionary attacks (PBKDF2) Closes #220
* Implement new RPC authorization using --rpc-secret optionTatsuhiro Tsujikawa2014-02-021-0/+25
|
* Introduce PrefPtr typedefNils Maier2013-09-191-1/+1
|
* Convert to autos and ranged loopsNils Maier2013-08-211-3/+2
|
* Fix segmentation fault if RpcMethod::process throws exceptionTatsuhiro Tsujikawa2013-08-041-1/+2
|
* Use std::unique_ptr for ValueBase object hierarchyTatsuhiro Tsujikawa2013-07-111-7/+6
|
* Use std::mem_fn instead of std::mem_funTatsuhiro Tsujikawa2013-06-221-4/+4
|
* Require -std=c++11 and use std::shared_ptr instead of SharedHandleTatsuhiro Tsujikawa2013-06-221-3/+3
|
* Remove NULL check for pref because pref is always non NULLTatsuhiro Tsujikawa2013-05-151-4/+0
|
* Removed trailing spacesTatsuhiro Tsujikawa2012-10-011-1/+1
|
* Handle OptionHandlers as raw pointerTatsuhiro Tsujikawa2012-09-271-5/+5
|
* Ignore unacceptable options in RPC request instead of throwing error.Tatsuhiro Tsujikawa2012-05-171-2/+2
| | | | | This change allows RPC client to send same options for the different type of downloads.
* Options for -i list is now available in aria2.changeOption.Tatsuhiro Tsujikawa2011-10-291-0/+11
| | | | | | | | | 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.
* Renamed OptionHandler::setGlobalChangeOption() as setChangeGlobalOption().Tatsuhiro Tsujikawa2011-10-221-1/+1
|
* OptionHandler now knows its option can be used in -i list option,Tatsuhiro Tsujikawa2011-10-221-92/+31
| | | | | | changeable in aria2.changeOption or aria2.changeGlobalOption. OptionHandler also now its option is cumulative.
* Rewritten OptionParser. Made it simpler and efficient.Tatsuhiro Tsujikawa2011-10-221-5/+5
|
* Rewritten Option. Introduced Pref.Tatsuhiro Tsujikawa2011-10-211-12/+13
| | | | | Now preference key is Pref instead of just string. It has Option ID. Now option lookup and setting takes O(1) using Pref object.
* Removed asString, asList, ... and use downcast<T> instead.Tatsuhiro Tsujikawa2011-09-261-3/+3
|
* Moved jsonRpc flag from RpcMethod to RpcRequest.Tatsuhiro Tsujikawa2011-06-151-8/+7
| | | | 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/+213
Now JSON-RPC is available by default regardless of XML library. XML-RPC becomes available when XML library is available.