lib/rack/handler/mongrel2.rb in rack-mongrel2-0.2.0 vs lib/rack/handler/mongrel2.rb in rack-mongrel2-0.2.1

- old
+ new

@@ -18,15 +18,15 @@ conn = ::Mongrel2::Connection.new(options[:uuid], options[:recv], options[:send], options[:block]) running = true # This doesn't work at all until zmq fixes their shit - %w(INT TERM KILL).each do |sig| - trap(sig) do - conn.close - running = false - end - end + # %w(INT TERM KILL).each do |sig| + # trap(sig) do + # conn.close + # running = false + # end + # end while running req = conn.recv sleep(1) and next if req.nil? && options[:block] next if req.nil? || req.disconnect? \ No newline at end of file