diff options
author | Eric Wong <normalperson@yhbt.net> | 2014-01-27 16:49:14 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2014-01-29 08:43:17 +0000 |
commit | 5ae77e8ce4c439cdfdf1cbaee6a74fcda0b468b1 (patch) | |
tree | 03d3838d2f20b5c35146f1ad6dba82bd165e2704 /ext | |
parent | b3181b132f7f1e5838271f0b20df6fcbba004246 (diff) | |
download | unicorn-5ae77e8ce4c439cdfdf1cbaee6a74fcda0b468b1.tar.gz |
This protects us from two problems: 1) we (or our app) somehow called IO#close on one of the sockets we listen on without removing it from the readers array. We'll ignore IOErrors from IO#close and assume we wanted to close it. 2) our SIGQUIT handler is interrupted by itself. This can happen as a fake signal from the master could be handled and a real signal from an outside user is sent to us (e.g. from unicorn-worker-killer) or if a user uses the killall(1) command.
Diffstat (limited to 'ext')
0 files changed, 0 insertions, 0 deletions