Permalink
Browse files

Switch FCGI handler over to Rack

  • Loading branch information...
1 parent 119a41e commit 926844e869b747fa1e9474fd95f9b97fa04ae092 @josh josh committed Nov 28, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/fcgi_handler.rb
View
2 railties/lib/fcgi_handler.rb
@@ -98,7 +98,7 @@ def process_request(cgi)
with_signal_handler 'USR1' do
begin
- Dispatcher.dispatch(cgi)
+ ::Rack::Handler::FastCGI.serve(cgi, Dispatcher.new)
rescue SignalException, SystemExit
raise
rescue Exception => error

0 comments on commit 926844e

Please sign in to comment.