protected Method

RailsFCGIHandler.process_each_request(provider)

There's no documentation for this item.

Source Code

# File fcgi_handler.rb, line 73
def process_each_request(provider)
  cgi = nil

  provider.each_cgi do |cgi|
    process_request(cgi)

    case when_ready
      when :reload
        reload!
      when :restart
        close_connection(cgi)
        restart!
      when :exit
        close_connection(cgi)
        break
    end
  end
rescue SignalException => signal
  raise unless signal.message == 'SIGUSR1'
  close_connection(cgi)
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.