1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-27 00:16:38 +02:00
Files
unrealircd/include
Bram Matthys bed40ccdab JSON-RPC: RPC-over-net: track requests and handle timeouts and SQUITs.
Inform the RPC client that the request timed out / server is gone.
The timeout is fixed at 15 seconds, which is fine, I think.

New rpc error codes:
JSON_RPC_ERROR_SERVER_GONE      = -32001, /**< The request was forwarded to a remote server, but this server went gone while processing the request */
JSON_RPC_ERROR_TIMEOUT          = -32002, /**< The request was forwarded to a remote server, but the request/response timed out (15 seconds) */

Unfortunately we cannot say for sure the action did not succeed at all.
It could be that the request never reached the server, but it could also
be that the request DID reach the server and we timed out during
retrieving the response. Nothing we can do about that.
2023-01-13 15:34:00 +01:00
..
2022-12-29 10:07:19 +01:00
2021-09-23 19:21:19 +02:00
2022-01-05 00:07:22 +03:00
2000-02-28 22:45:44 +00:00
2022-12-07 08:53:44 +01:00
2004-05-13 16:39:23 +00:00
2022-01-28 17:02:19 +01:00