Browse Source

Don't unlink the unix sockets to make it easier for processes to determine they are not being listened on

master
Con Kolivas 11 years ago
parent
commit
68eff4d6a1
  1. 3
      src/libckpool.c

3
src/libckpool.c

@ -504,9 +504,6 @@ void close_unix_socket(const int sockd, const char *server_path)
ret = close(sockd);
if (unlikely(ret < 0))
LOGERR("Failed to close sock %d %s", sockd, server_path);
ret = unlink(server_path);
if (unlikely(ret < 0))
LOGERR("Failed to unlink %s", server_path);
}
int _open_unix_server(const char *server_path, const char *file, const char *func, const int line)

Loading…
Cancel
Save