Class: Unicorn::HttpServer

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

Constant Summary

REQ =
Unicorn::HttpRequest::REQ

Instance Method Summary collapse

Instance Method Details

#orig_process_clientObject



57
58
59
60
# File 'lib/patches.rb', line 57

def process_client(client)
  Spawn.resources_to_close(client, REQ)
  orig_process_client(client)
end

#process_client(client) ⇒ Object



58
59
60
61
# File 'lib/patches.rb', line 58

def process_client(client)
  Spawn.resources_to_close(client, @request)
  orig_process_client(client)
end