6ddd69c5ce
timeout limits the code with the given timeout in seconds, and 'json-error' return json to stdout when the call returns an error like this: { "msg": "error message", "error": true, "code": <HTTP_STATUS_CODE>, // if it was an http error } with both options set, a client can more easily determine if the call ran into a timeout (since it will return a 503 error), and can poll it again both is done behind new parameters, so that we can stay backwards-compatible Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |