summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHwankyu Jhun <h.jhun@samsung.com>2021-12-07 13:54:40 +0900
committerHwankyu Jhun <h.jhun@samsung.com>2021-12-07 13:54:40 +0900
commit26c23c0d2d811b28fe19f1dbf8be1dfcd03d4e3c (patch)
treed4bd76eb1e196de6ee6e50979d647578cc146140
parentb3f9465c380bd126aeb177bbc1d5582a11f1cb60 (diff)
downloadaul-1-26c23c0d2d811b28fe19f1dbf8be1dfcd03d4e3c.tar.gz
aul-1-26c23c0d2d811b28fe19f1dbf8be1dfcd03d4e3c.tar.bz2
aul-1-26c23c0d2d811b28fe19f1dbf8be1dfcd03d4e3c.zip
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 <h.jhun@samsung.com>
-rw-r--r--src/aul_rpc_port.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aul_rpc_port.cc b/src/aul_rpc_port.cc
index d848e729..6dc0608a 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;