diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-06-15 00:09:32 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-06-15 00:13:41 +0000 |
commit | c719497c6db220a9f58c71970f2370cb2e6c99c3 (patch) | |
tree | 69fda2a17c9895ecd3b3fcab0d02056818a6731d /lib/unicorn/http_server.rb | |
parent | 742c4d77f179a757dbcb1fa350f9d75b757acfc7 (diff) | |
download | unicorn-c719497c6db220a9f58c71970f2370cb2e6c99c3.tar.gz |
Ruby IO.select never raises that, actually
Diffstat (limited to 'lib/unicorn/http_server.rb')
-rw-r--r-- | lib/unicorn/http_server.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/unicorn/http_server.rb b/lib/unicorn/http_server.rb index 581471b..a590ab0 100644 --- a/lib/unicorn/http_server.rb +++ b/lib/unicorn/http_server.rb @@ -332,7 +332,6 @@ class Unicorn::HttpServer reexec end end - rescue Errno::EINTR rescue => e logger.error "Unhandled master loop exception #{e.inspect}." logger.error e.backtrace.join("\n") @@ -650,8 +649,6 @@ class Unicorn::HttpServer # timeout used so we can detect parent death: ret = IO.select(LISTENERS, nil, SELF_PIPE, timeout) and ready = ret[0] - rescue Errno::EINTR - ready = LISTENERS.dup rescue Errno::EBADF nr < 0 or return rescue => e |