summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>2019-05-15 12:23:57 +0000
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2019-05-15 12:23:57 +0000
commite7fc5083eeec26de78c7ff9a4dc3e51b18b59958 (patch)
tree77c3274e6f8941a970521fc64f045669baf9c2a4
parent3a49b5305d0739d3165b25e406305dad841d52e1 (diff)
parentf28d202efe7074c3d8334c8e577a55b0191e8810 (diff)
downloadkey-manager-e7fc5083eeec26de78c7ff9a4dc3e51b18b59958.tar.gz
key-manager-e7fc5083eeec26de78c7ff9a4dc3e51b18b59958.tar.bz2
key-manager-e7fc5083eeec26de78c7ff9a4dc3e51b18b59958.zip
Merge "Increase backlog for listening sockets" into tizen
-rw-r--r--src/manager/main/socket-manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manager/main/socket-manager.cpp b/src/manager/main/socket-manager.cpp
index f3f6e3f..07ce31c 100644
--- a/src/manager/main/socket-manager.cpp
+++ b/src/manager/main/socket-manager.cpp
@@ -617,7 +617,7 @@ int SocketManager::CreateDomainSocketHelp(
umask(originalUmask);
- if (-1 == listen(sockfd, 5)) {
+ if (-1 == listen(sockfd, SOMAXCONN)) {
int err = errno;
close(sockfd);
LogError("Error in listen: " << GetErrnoString(err));