diff options
Diffstat (limited to 'lib/mongrel/handlers.rb')
-rw-r--r-- | lib/mongrel/handlers.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/mongrel/handlers.rb b/lib/mongrel/handlers.rb index f7f7e74..2a72ebd 100644 --- a/lib/mongrel/handlers.rb +++ b/lib/mongrel/handlers.rb @@ -41,6 +41,12 @@ module Mongrel def request_begins(params) end + # Called by Mongrel for each IO chunk that is received on the request socket + # from the client, allowing you to track the progress of the IO and monitor + # the input. + def request_progress(params, clen, total) + end + def process(request, response) end @@ -59,6 +65,9 @@ module Mongrel def request_begins(params) end + def request_progress(params, clen, total) + end + def initialize(options={}) @options = options @header_only = false |