Files
pallectrum/lib
Neil Booth e6020975a5 daemon: prevent races by opening with O_EXCL
Rework the way the daemon and server are created.  If we might
want to create a daemon, try to grab the lockfile with O_EXCL.
If we got it, create a server and daemon, otherwise try and
connect to the server.  If connecting to the server fails (including
after sleeping a little in case the server was recently created),
remove the lockfile and start over.

Other fix: shut down network gracefully on daemon exit.

Fixes #1638
2016-01-31 14:46:03 +09:00
..
2016-01-26 15:48:34 +01:00
2015-12-01 09:42:47 +01:00
2016-01-01 16:48:18 +09:00
2015-12-25 23:34:04 +09:00
2015-12-13 06:33:06 +01:00
2016-01-23 22:10:25 +09:00
2016-01-26 13:51:47 +01:00
2015-12-23 18:31:36 +09:00
2015-09-09 18:15:38 +02:00
2015-09-11 14:03:44 +09:00
2015-11-24 09:43:21 +01:00
2016-01-26 13:51:47 +01:00
2015-11-25 11:37:10 +01:00