Class: Mongrel::HttpServer
- Inherits:
-
Object
- Object
- Mongrel::HttpServer
- Defined in:
- lib/patches.rb
Instance Method Summary collapse
-
#orig_process_client ⇒ Object
redefine Montrel::HttpServer::process_client so that we can intercept the socket that is being used so Spawnling can close it upon forking.
- #process_client(client) ⇒ Object
Instance Method Details
#orig_process_client ⇒ Object
redefine Montrel::HttpServer::process_client so that we can intercept the socket that is being used so Spawnling can close it upon forking
86 |
# File 'lib/patches.rb', line 86 alias_method :orig_process_client, :process_client |
#process_client(client) ⇒ Object
87 88 89 90 |
# File 'lib/patches.rb', line 87 def process_client(client) ::Spawnling.resources_to_close(client, @socket) orig_process_client(client) end |