lm011111 Wrote:
-------------------------------------------------------
> Hello!
>
> is it possible that nginx will not buffer the client body before
> handle the
> request to upstream?
>
> we want to use nginx as a reverse proxy to upload very very big file
> to the
> upstream, but the default behavior of nginx is to save the whole
> request to
> the local disk first before handle it to the upstream, which make the
> upstream impossible to process the file on the fly when the file is
> uploading, results in much high request latency and server-side
> resource
> consumption.
>
> Thanks!
> _______________________________________________
You could use the nginx upload module to do this.
http://www.grid.net.ru/nginx/upload.en.html
I currently am using this to support a video upload application built with Django and has full upload resume functionality as well. The only caveat is that I cannot support resumes across different sessions, but within the same session it works (uses the X-UPLOAD-SESSION-ID header or something similar).