protected Method

RailsFCGIHandler.install_signal_handler(signal, handler = nil)

There's no documentation for this item.

Source Code

# File fcgi_handler.rb, line 100
def install_signal_handler(signal, handler = nil)
  handler ||= method("#{SIGNALS[signal]}_handler").to_proc
  trap(signal, handler)
rescue ArgumentError
  dispatcher_log :warn, "Ignoring unsupported signal #{signal}."
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.