Displaying 1 result from an estimated 1 matches for "dispatch_to_handl".
2007 Jul 31
0
Patch: Allow overriding of handler dispatch in Mongrel::HttpServer
...ient)
- # Process each handler in registered order until we
run out or one finalizes the response.
- handlers.each do |handler|
- handler.process(request, response)
- break if response.done or client.closed?
- end
+ dispatch_to_handlers(client, handlers, request, response)
# And finally, if nobody closed the response off, we
finalize it.
unless response.done or client.closed?
@@ -658,6 +654,17 @@
end
end
+
+ # Process each handler in registered order until we run out or
one f...