mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-27 00:16:38 +02:00
bed40ccdab
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.