From e6c3c2a672040f6cdd01c4c164562cfd6a9fa535 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 20 Apr 2015 14:08:46 +1000 Subject: [PATCH] Do not wait for other end to close when sending a one way unix message with receive queues now in place --- src/ckpool.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/ckpool.c b/src/ckpool.c index abb54e89..70725e08 100644 --- a/src/ckpool.c +++ b/src/ckpool.c @@ -615,11 +615,8 @@ void _send_proc(proc_instance_t *pi, const char *msg, const char *file, const ch } if (unlikely(!send_unix_msg(sockd, msg))) LOGWARNING("Failed to send %s to socket %s", msg, path); - else { + else ret = true; - if (!wait_close(sockd, 5)) - LOGWARNING("send_proc %s did not detect close from %s %s:%d", msg, file, func, line); - } Close(sockd); out: if (unlikely(!ret)) {