Welcome! Log In Create A New Profile

Advanced

Re: Is it possible that nginx will not buffer the client body?

All files from this thread

File NameFile Size Posted byDate 
no_buffer.patch38.8 KBopen | download姚伟斌01/13/2013Read message
100 bytesopen | downloadWeibin Yao02/26/2013Read message
no_buffer_v5.patch39.2 KBopen | downloadWeibin Yao03/14/2013Read message
January 11, 2013 02:31PM
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).
SubjectAuthorPosted

Is it possible that nginx will not buffer the client body?

lm011111January 11, 2013 02:22AM

Re: Is it possible that nginx will not buffer the client body?

姚伟斌January 11, 2013 04:18AM

Re: Is it possible that nginx will not buffer the client body?

lm011111January 13, 2013 04:02AM

Re: Is it possible that nginx will not buffer the client body? Attachments

姚伟斌January 13, 2013 07:24AM

Re: Is it possible that nginx will not buffer the client body?

Pasi KärkkäinenJanuary 16, 2013 10:16AM

Re: Is it possible that nginx will not buffer the client body?

姚伟斌January 16, 2013 10:18PM

Re: Is it possible that nginx will not buffer the client body?

Pasi KärkkäinenJanuary 18, 2013 03:40AM

Re: Is it possible that nginx will not buffer the client body?

Pasi KärkkäinenFebruary 21, 2013 03:10PM

Re: Is it possible that nginx will not buffer the client body?

Weibin YaoFebruary 21, 2013 09:08PM

Re: Is it possible that nginx will not buffer the client body?

Pasi KärkkäinenFebruary 22, 2013 04:26AM

Re: Is it possible that nginx will not buffer the client body?

Pasi KärkkäinenFebruary 22, 2013 05:52AM

Re: Is it possible that nginx will not buffer the client body?

Weibin YaoFebruary 24, 2013 09:14PM

Re: Is it possible that nginx will not buffer the client body?

Pasi KärkkäinenFebruary 25, 2013 05:14AM

Re: Is it possible that nginx will not buffer the client body? Attachments

Weibin YaoFebruary 26, 2013 09:14AM

Re: Is it possible that nginx will not buffer the client body?

Pasi KärkkäinenMarch 05, 2013 08:18AM

Re: Is it possible that nginx will not buffer the client body?

doubleMarch 07, 2013 12:25PM

Re: Is it possible that nginx will not buffer the client body?

Pasi KärkkäinenMarch 07, 2013 12:50PM

Re: Is it possible that nginx will not buffer the client body?

Pasi KärkkäinenMarch 14, 2013 04:46AM

Re: Is it possible that nginx will not buffer the client body?

Pasi KärkkäinenMarch 08, 2013 08:38AM

Re: Is it possible that nginx will not buffer the client body? Attachments

Weibin YaoMarch 14, 2013 01:18AM

Re: Is it possible that nginx will not buffer the client body?

Pasi KärkkäinenMarch 14, 2013 04:40AM

Re: Is it possible that nginx will not buffer the client body?

Pasi KärkkäinenMarch 20, 2013 01:04PM

Re: Is it possible that nginx will not buffer the client body?

doubleFebruary 28, 2013 10:16AM

Re: Is it possible that nginx will not buffer the client body?

EDevilFebruary 28, 2013 12:38PM

Re: Is it possible that nginx will not buffer the client body?

Maxim DouninFebruary 28, 2013 01:14PM

Re: Is it possible that nginx will not buffer the client body?

doubleMarch 05, 2013 06:24AM

Re: Is it possible that nginx will not buffer the client body?

Pasi KärkkäinenMarch 14, 2013 10:14AM

Re: Is it possible that nginx will not buffer the client body?

Weibin YaoMarch 18, 2013 12:22AM

Re: Is it possible that nginx will not buffer the client body?

doubleApril 04, 2013 04:30AM

Re: Is it possible that nginx will not buffer the client body?

Valentin V. BartenevFebruary 28, 2013 01:52PM

Re: Is it possible that nginx will not buffer the client body?

EDevilFebruary 28, 2013 02:04PM

Re: Is it possible that nginx will not buffer the client body?

Pasi KärkkäinenMarch 01, 2013 08:24AM

Re: Is it possible that nginx will not buffer the client body?

doubleMarch 01, 2013 10:17AM

Re: Is it possible that nginx will not buffer the client body?

daveyfxJanuary 11, 2013 02:31PM

Re: Is it possible that nginx will not buffer the client body?

doubleFebruary 26, 2013 04:10PM

Re: Is it possible that nginx will not buffer the client body?

doubleApril 18, 2013 05:27AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 71
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready