Module: PhusionPassenger::ClassicRails::ThreadHandlerExtension

Defined in:
lib/phusion_passenger/classic_rails/thread_handler_extension.rb

Instance Method Summary collapse

Instance Method Details

#process_request(env, connection, socket_wrapper, full_http_response) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/phusion_passenger/classic_rails/thread_handler_extension.rb', line 30

def process_request(env, connection, socket_wrapper, full_http_response)
	cgi = CGIFixed.new(env, connection, connection)
	::Dispatcher.dispatch(cgi,
		::ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS,
		cgi.stdoutput)
	return false # Socket hijacking not supported.
end