summaryrefslogtreecommitdiff
path: root/src/bin/efl
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@yahoo.com>2018-06-16 23:14:47 +0300
committerDaniel Zaoui <daniel.zaoui@yahoo.com>2018-06-16 23:21:09 +0300
commit4294561c8877323b1974a335cfa4a59bff2b04c1 (patch)
tree6a8121433a5c103c76c98bd8f42ccf80f7e76984 /src/bin/efl
parent0accfb12fabfe5b1c798b77556ca700ccc746c16 (diff)
efl_debugd: don't force unlinking UNIX socket before binding
If two daemons are launched one after the other, we would like the second one to exit directly. The problem is that if the UNIX socket is unlinked before the binding, the second daemon will succeed to create this socket, stoling it from the first daemon, and exit because the network socket is not bindable. It results in the first daemon to continue running and accepting connections from the debuggers (network connection) but ignoring the applications connection (local UNIX connection).
Diffstat (limited to 'src/bin/efl')
-rw-r--r--src/bin/efl/efl_debugd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bin/efl/efl_debugd.c b/src/bin/efl/efl_debugd.c
index cd4a819eaf..c7cad1e4ff 100644
--- a/src/bin/efl/efl_debugd.c
+++ b/src/bin/efl/efl_debugd.c
@@ -592,7 +592,6 @@ _local_server_create(void)
592#ifdef EFL_NET_SERVER_UNIX_CLASS 592#ifdef EFL_NET_SERVER_UNIX_CLASS
593 { 593 {
594 Eo *inner_server = efl_net_server_simple_inner_server_get(_local_server); 594 Eo *inner_server = efl_net_server_simple_inner_server_get(_local_server);
595 efl_net_server_unix_unlink_before_bind_set(inner_server, EINA_TRUE);
596 efl_net_server_unix_leading_directories_create_set(inner_server, EINA_TRUE, 0700); 595 efl_net_server_unix_leading_directories_create_set(inner_server, EINA_TRUE, 0700);
597 } 596 }
598#endif 597#endif