mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Revert "Fixed FCGI handling [#1854 state:resolved]"
This reverts commit dcc2407d99.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
FCGI_PURE_RUBY = true
|
||||
require 'fcgi'
|
||||
require 'logger'
|
||||
require 'dispatcher'
|
||||
@@ -99,7 +98,6 @@ class RailsFCGIHandler
|
||||
|
||||
with_signal_handler 'USR1' do
|
||||
begin
|
||||
cgi = FCGI::Request.new(cgi.id, cgi.env_table, cgi.stdinput, cgi.stdoutput)
|
||||
::Rack::Handler::FastCGI.serve(cgi, Dispatcher.new)
|
||||
rescue SignalException, SystemExit
|
||||
raise
|
||||
|
||||
Reference in New Issue
Block a user