Class: Passenger::Rack::RequestHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/spork.rb

Instance Method Summary collapse

Instance Method Details

#orig_process_requestObject



76
# File 'lib/spork.rb', line 76

alias_method :orig_process_request, :process_request

#process_request(env, input, output) ⇒ Object



77
78
79
80
81
# File 'lib/spork.rb', line 77

def process_request(env, input, output)
  Spork.resource_to_close(input)
  Spork.resource_to_close(output)
  orig_process_request(env, input, output)
end