7 messages in ru.sysoev.nginxRe: Turn off file upload buffering?
FromSent OnAttachments
Ezra ZygmuntowiczNov 6, 2006 12:04 pm 
Aleksandar LazicNov 7, 2006 12:10 am 
Igor SysoevNov 7, 2006 12:34 am 
Igor SysoevNov 7, 2006 12:35 am 
Ezra ZygmuntowiczNov 7, 2006 12:46 pm 
Igor SysoevNov 8, 2006 1:25 pm 
Sam G.Nov 8, 2006 7:28 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Turn off file upload buffering?Actions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Nov 8, 2006 1:25:11 pm
List:ru.sysoev.nginx

On Tue, 7 Nov 2006, Ezra Zygmuntowicz wrote:

On Nov 7, 2006, at 12:35 AM, Igor Sysoev wrote:

On Mon, 6 Nov 2006, Ezra Zygmuntowicz wrote:

I am running mongrel behind nginx proxy and I am doing upload progess with mongrel. I need to know how to turn off ngxin file upload buffering. Right now nginx buffers the entire file upload to a tmp file before it sends it on to the proxied backend. Is there a way to turn this off so that nginx just does a pass through and lets the backend take care of buffering the file upload to disk?

Currently nginx always buffer an upload because 1) it is accelerator 2) and to support fault tolerance: if some backend fails, nginx can resend the upload to next backend.

I plan to add the upload progress module.

Ok thanks for the info Igor. Is there anything I can do to help get the upload progress support in quicker? Maybe sponsor the development? Our customers really need a way to do upload progress and we use purely nginx and mongrel. I have custom mongrel extension that supports upload progress right in mongrel already, so is there no way to get an option for nginx to pass through the uploaded file? Or would that be too hard to add?

I need to think some time.