From 767103c36fd66baa04d01992418b2763766db364 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 10 Sep 2014 21:20:13 +1000 Subject: [PATCH] Zero timeout on second select in recv_unix_msg is too strict --- src/libckpool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libckpool.c b/src/libckpool.c index fc3d8213..8a568e0d 100644 --- a/src/libckpool.c +++ b/src/libckpool.c @@ -723,7 +723,7 @@ char *_recv_unix_msg(int sockd, const char *file, const char *func, const int li LOGWARNING("Invalid message length zero sent to recv_unix_msg"); goto out; } - ret = wait_read_select(sockd, 0); + ret = wait_read_select(sockd, 5); if (unlikely(ret < 1)) { LOGERR("Select2 failed in recv_unix_msg"); goto out;