diff options
author | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-06-25 14:49:46 +0000 |
---|---|---|
committer | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-06-25 14:49:46 +0000 |
commit | f26ffd1a9112876f3508a152f6f79361a06285f7 (patch) | |
tree | 02183dd93a3a96c203d7c99e071d287214ed91ff /lib/mongrel/handlers.rb | |
parent | 49856e52b045cac75e064e498e68ce3cfa48026c (diff) | |
download | unicorn-f26ffd1a9112876f3508a152f6f79361a06285f7.tar.gz |
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@260 19e92222-5c0b-0410-8929-a290d50e31e9
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 |