diff options
| author | Nils Maier <maierman@web.de> | 2014-07-15 08:15:46 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2014-07-22 21:58:30 +0200 |
| commit | 8f2af33b6dd33e7937480e37f06d325e812dee8f (patch) | |
| tree | b74350f9d538150246e22551ac65b20c92cf466c /src/RpcMethodImpl.h | |
| parent | 24ae459523e4a41c711990b04bd9ed6f1222f559 (diff) | |
Delay auth failures instead of PBKDF2
Closes GH-256
Diffstat (limited to 'src/RpcMethodImpl.h')
| -rw-r--r-- | src/RpcMethodImpl.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/RpcMethodImpl.h b/src/RpcMethodImpl.h index 6d691611..442303fe 100644 --- a/src/RpcMethodImpl.h +++ b/src/RpcMethodImpl.h @@ -586,14 +586,9 @@ class SystemMulticallRpcMethod:public RpcMethod { protected: virtual std::unique_ptr<ValueBase> process (const RpcRequest& req, DownloadEngine* e) CXX11_OVERRIDE; + public: - virtual void authorize(RpcRequest& req, DownloadEngine* e) CXX11_OVERRIDE - { - // Batch calls (e.g., system.multicall) authorizes only nested - // methods. This is because XML-RPC system.multicall only accpets - // methods array and there is no room for us to insert token - // parameter. - } + virtual RpcResponse execute(RpcRequest req, DownloadEngine* e) CXX11_OVERRIDE; static const char* getMethodName() { |
