A request handler for Ruby on Rails applications.
Methods
Constants
NINJA_PATCHING_LOCK | = | Mutex.new # :nodoc: |
Public Class methods
[ show source ]
# File lib/phusion_passenger/railz/request_handler.rb, line 37 37: def initialize(owner_pipe, options = {}) 38: super(owner_pipe, options) 39: NINJA_PATCHING_LOCK.synchronize do 40: ninja_patch_action_controller 41: end 42: end
Protected Instance methods
Overrided method.
[ show source ]
# File lib/phusion_passenger/railz/request_handler.rb, line 46 46: def process_request(headers, input, output) 47: headers[CONTENT_LENGTH] = headers[HTTP_CONTENT_LENGTH] 48: cgi = CGIFixed.new(headers, input, output) 49: ::Dispatcher.dispatch(cgi, 50: ::ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS, 51: cgi.stdoutput) 52: end