Sometimes, a timing issue occures when daemon is launched.
It makes IPC error between app and daemon.
To avoid timing issue, receive timeout value is changed to 5.5 sec
Change-Id: I29153649d28eefb12c2b9bb21721463b506fdc71
Name: download-provider
Summary: Download the contents in background
-Version: 2.1.91
+Version: 2.1.92
Release: 0
Group: Development/Libraries
License: Apache-2.0
}
// blocking & timeout to prevent the lockup by client.
- struct timeval tv_timeo = {1, 500000}; // 1.5 sec
+ struct timeval tv_timeo = {5, 500000}; // 5.5 sec
if (setsockopt(clientfd, SOL_SOCKET, SO_RCVTIMEO, &tv_timeo,
sizeof(tv_timeo)) < 0) {
TRACE_ERROR("failed to set timeout in blocking socket");