http_server: handle premature grandparent death
commit27ae210dde9228cfa96ea6b0f3a7e4047d3f70a4
authorEric Wong <e@80x24.org>
Fri, 2 May 2014 23:15:58 +0000 (2 23:15 +0000)
committerEric Wong <e@80x24.org>
Sun, 4 May 2014 02:32:07 +0000 (4 02:32 +0000)
tree0ebab1db5910f4689ba635347d66c6d04d5eb3ae
parent9c333bf0c7db34694b8b78c7f03dd2ce89e32890
http_server: handle premature grandparent death

When daemonizing, it is possible for the grandparent to be
terminated by another process before the master can notify
it.  Do not abort the master in this case.

This may fix the following issue:

https://github.com/kostya/eye/issues/49

(which I was notified of privately via email)
lib/unicorn/http_server.rb