about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-06-15 00:09:32 +0000
committerEric Wong <normalperson@yhbt.net>2011-06-15 00:13:41 +0000
commitc719497c6db220a9f58c71970f2370cb2e6c99c3 (patch)
tree69fda2a17c9895ecd3b3fcab0d02056818a6731d
parent742c4d77f179a757dbcb1fa350f9d75b757acfc7 (diff)
downloadunicorn-c719497c6db220a9f58c71970f2370cb2e6c99c3.tar.gz
Ruby IO.select never raises that, actually
-rw-r--r--lib/unicorn/http_server.rb3
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