Browse Source

Do not wait for other end to close when sending a one way unix message with receive queues now in place

master
Con Kolivas 10 years ago
parent
commit
e6c3c2a672
  1. 5
      src/ckpool.c

5
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)) {

Loading…
Cancel
Save