mirror of https://github.com/aria2/aria2
Delegate jsonRpc_ to child method in system.multicall.
parent
e874a5c56a
commit
da0ab67324
|
@ -1383,8 +1383,8 @@ SharedHandle<ValueBase> SystemMulticallRpcMethod::process
|
||||||
(DL_ABORT_EX("Recursive system.multicall forbidden.")));
|
(DL_ABORT_EX("Recursive system.multicall forbidden.")));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
SharedHandle<RpcMethod> method =
|
SharedHandle<RpcMethod> method = RpcMethodFactory::create(methodName->s());
|
||||||
RpcMethodFactory::create(methodName->s());
|
method->setJsonRpc(getJsonRpc());
|
||||||
RpcRequest innerReq
|
RpcRequest innerReq
|
||||||
(methodName->s(), static_pointer_cast<List>(methodDict->get(KEY_PARAMS)));
|
(methodName->s(), static_pointer_cast<List>(methodDict->get(KEY_PARAMS)));
|
||||||
RpcResponse res = method->execute(innerReq, e);
|
RpcResponse res = method->execute(innerReq, e);
|
||||||
|
|
Loading…
Reference in New Issue