[Mongrel] Mongrel::HttpHandlerPlugin

Zed A. Shaw zedshaw at zedshaw.com
Thu Oct 19 22:15:24 EDT 2006


On Fri, 20 Oct 2006 08:24:13 +1000
"Carl Woodward" <cjwoodward at gmail.com> wrote:

> Hi,
> 
> I'm trying to write a file upload monitor for mongrel that uses
> juggernaut to alert the browser of a change. I'm writing a plugin that
> uses Mongrel::HttpHandlerPlugin but it looks like the only method that
> gets called is process and that is only when the upload has finished.
> I'm setting the following:
> 
> @request_notify = true
> 
> But I am still only getting process to come through.
> 
> Any ideas?

Did you check out the existing mongrel_upload_progress code works?  I'd base your work on that before striking out on your own.


-- 
Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu
http://www.zedshaw.com/
http://mongrel.rubyforge.org/
http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.


More information about the Mongrel-users mailing list