Switch FCGI handler over to Rack

This commit is contained in:
Joshua Peek
2008-11-28 17:36:17 -06:00
parent 119a41e21d
commit 926844e869

View File

@@ -98,7 +98,7 @@ class RailsFCGIHandler
with_signal_handler 'USR1' do
begin
Dispatcher.dispatch(cgi)
::Rack::Handler::FastCGI.serve(cgi, Dispatcher.new)
rescue SignalException, SystemExit
raise
rescue Exception => error