From 26c23c0d2d811b28fe19f1dbf8be1dfcd03d4e3c Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Tue, 7 Dec 2021 13:54:40 +0900 Subject: [PATCH] Fix socket option of rpc port request To pending the launch request, this patch changes the socket option to AUL_SOCK_QUEUE. If the callee application is not ready to get launch requests, AMD will pend the launch request to the pending item. Change-Id: I10b7fd4117d38e3ede6b0c31128b1d729cfcebf6 Signed-off-by: Hwankyu Jhun --- src/aul_rpc_port.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aul_rpc_port.cc b/src/aul_rpc_port.cc index d848e72..6dc0608 100644 --- a/src/aul_rpc_port.cc +++ b/src/aul_rpc_port.cc @@ -146,7 +146,7 @@ extern "C" API int aul_rpc_port_usr_prepare_stub(const char* app_id, int ret = AppRequest(RPC_PORT_PREPARE_STUB, uid) .With(b) .SetAppId(app_id) - .SendSimply(); + .SendSimply(AUL_SOCK_QUEUE); if (ret < 0) { _E("Failed to send request. app_id(%s), port_name(%s)", app_id, port_name); return ret; -- 2.7.4