1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2026-03-02 04:09:18 +00:00

use jsonrpc_proxy to send requests within client_protocol (provider)

This commit is contained in:
Falk Werner
2020-03-01 01:13:24 +01:00
parent 97eb420ef2
commit af2343c67a
4 changed files with 88 additions and 38 deletions

View File

@@ -124,7 +124,7 @@ void jsonrpc_impl_proxy_cleanup(
proxy->request.id = 0;
wf_timer_cancel(proxy->request.timer);
jsonrpc_impl_propate_error(finished, user_data, JSONRPC_BAD, "Bad");
jsonrpc_impl_propate_error(finished, user_data, JSONRPC_BAD, "Bad: cancelled pending request during shutdown");
}
wf_timer_dispose(proxy->request.timer);
@@ -158,7 +158,7 @@ void jsonrpc_impl_proxy_invoke(
proxy->request.id = 0;
wf_timer_cancel(proxy->request.timer);
jsonrpc_impl_propate_error(finished, user_data, JSONRPC_BAD, "Bad");
jsonrpc_impl_propate_error(finished, user_data, JSONRPC_BAD, "Bad: requenst is not sent");
}
if (NULL != request)