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).
This commit is contained in:
parent
0accfb12fa
commit
4294561c88
|
@ -592,7 +592,6 @@ _local_server_create(void)
|
|||
#ifdef EFL_NET_SERVER_UNIX_CLASS
|
||||
{
|
||||
Eo *inner_server = efl_net_server_simple_inner_server_get(_local_server);
|
||||
efl_net_server_unix_unlink_before_bind_set(inner_server, EINA_TRUE);
|
||||
efl_net_server_unix_leading_directories_create_set(inner_server, EINA_TRUE, 0700);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue