Does anyone know whether the mongrel upload progress plugin works with nginx? It works fine for my app under pound, but not with nginx. I am using DRb to handle the uploads as detailed at http://mongrel.rubyforge.org/docs/upload_progress.html . If I am using pound I can see the uploads with irb -r lib/upload_client.rb , but cannot if I am using nginx. Does anyone know anything more about this behavior or a possible solution? thanks,
On Mon, 13 Nov 2006 17:52:16 -0500 "William Macfarlane" <wmacfarl at gmail.com> wrote:> Does anyone know whether the mongrel upload progress plugin works with > nginx? It works fine for my app under pound, but not with nginx. > > I am using DRb to handle the uploads as detailed at > http://mongrel.rubyforge.org/docs/upload_progress.html . > > If I am using pound I can see the uploads with irb -r > lib/upload_client.rb , but cannot if I am using nginx. > > Does anyone know anything more about this behavior or a possible solution?nginx does buffer the whole request body before sending it to the backends. This is why pound, pen, or balance works but nginx doesn''t when you do upload progress. Pretty much the only solution is to put the uploading part on a different box or port and run it directly or behind pound. -- Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu http://www.zedshaw.com/ http://www.awprofessional.com/title/0321483502 -- The Mongrel Book http://mongrel.rubyforge.org/ http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.
On Die 14.11.2006 01:51, Zed A. Shaw wrote:>On Mon, 13 Nov 2006 17:52:16 -0500 >"William Macfarlane" <wmacfarl at gmail.com> wrote: > >> Does anyone know whether the mongrel upload progress plugin works with >> nginx? It works fine for my app under pound, but not with nginx.[snipp]>> Does anyone know anything more about this behavior or a possible solution? > >nginx does buffer the whole request body before sending it to the >backends. This is why pound, pen, or balance works but nginx doesn''t >when you do upload progress. Pretty much the only solution is to put >the uploading part on a different box or port and run it directly or >behind pound.Yep, maybe in the future this feature could be deactivated. Please stay tuned, I will say if this will be changed. Regards Aleks
Apparently Analagous Threads
- Mongrel upload progress not showing progress on production server
- Mongrel Upload Progress 0.2 -- With Instructions and Examples
- No return status from mongrel upload progress (and thus no updates on the bar)
- Upload Progress Bar Problems
- Nginx/Mongrel Could not retrieve catalog from remote server: Error 403 on SERVER