diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-11-28 17:36:17 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-12-01 11:54:32 -0600 |
commit | 926844e869b747fa1e9474fd95f9b97fa04ae092 (patch) | |
tree | 26b2f872cac52e3f8a9c3c19eeccbb750eac774e /railties | |
parent | 119a41e21ddfe220d1d6e92102b65141a0e2299d (diff) | |
download | rails-926844e869b747fa1e9474fd95f9b97fa04ae092.tar.gz rails-926844e869b747fa1e9474fd95f9b97fa04ae092.tar.bz2 rails-926844e869b747fa1e9474fd95f9b97fa04ae092.zip |
Switch FCGI handler over to Rack
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/fcgi_handler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/fcgi_handler.rb b/railties/lib/fcgi_handler.rb index 1bb55b9275..1256ef2286 100644 --- a/railties/lib/fcgi_handler.rb +++ b/railties/lib/fcgi_handler.rb @@ -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 |