Skip to content
This repository
Browse code

Switch FCGI handler over to Rack

  • Loading branch information...
commit 926844e869b747fa1e9474fd95f9b97fa04ae092 1 parent 119a41e
Joshua Peek authored November 28, 2008

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  railties/lib/fcgi_handler.rb
2  railties/lib/fcgi_handler.rb
@@ -98,7 +98,7 @@ def process_request(cgi)
98 98
 
99 99
       with_signal_handler 'USR1' do
100 100
         begin
101  
-          Dispatcher.dispatch(cgi)
  101
+          ::Rack::Handler::FastCGI.serve(cgi, Dispatcher.new)
102 102
         rescue SignalException, SystemExit
103 103
           raise
104 104
         rescue Exception => error

0 notes on commit 926844e

Please sign in to comment.
Something went wrong with that request. Please try again.