About proxy_request_buffering

Hello.

Though I’m trying to apply ‘proxy_request_buffering off;’ for unbuffered
uploading,
The buffering still seems to be enabled from error.log.

nginx.conf

server {
listen 443 ssl spdy;
server_name example.com;

location /upload {
    proxy_request_buffering off;
    proxy_pass http://upload_backend;
}

}

error.log

2015/03/29 14:02:20 [warn] 6965#0: *1 a client request body is buffered
to a
temporary file /etc/nginx/client_body_temp/0000000001, client: x.x.x.x,
server: example.com, request: “POST /upload HTTP/1.1”, host:
example.com

The warning above is not output when SPDY is not enabled.

Is proxy_request_buffering always enabled when SPDY is enabled?

Posted at Nginx Forum:

Same problem here. I suspect it’s automatically disabled when spdy is
enabled. And also found an issue here for tengine:
SPDY/3 and proxy_request_buffering off not working · Issue #444 · alibaba/tengine · GitHub. Might be a similar issue
?

Posted at Nginx Forum:

Same problem here. I suspect it’s automatically disabled when spdy is
enabled. And also found an issue here for tengine:
SPDY/3 and proxy_request_buffering off not working · Issue #444 · alibaba/tengine · GitHub. Might be a similar issue ?

Thanks for your comment. I saw the issue now. Probably so.

Posted at Nginx Forum:

Hello!

On Sun, Mar 29, 2015 at 01:51:15AM -0400, cubicdaiya wrote:

server_name example.com;

temporary file /etc/nginx/client_body_temp/0000000001, client: x.x.x.x,
server: example.com, request: “POST /upload HTTP/1.1”, host: “example.com

The warning above is not output when SPDY is not enabled.

Is proxy_request_buffering always enabled when SPDY is enabled?

Yes, it is not currently possible to switch off proxy_request_buffering
when using SPDY.


Maxim D.
http://nginx.org/

Maxim D. Wrote:

}

http://nginx.org/


nginx mailing list
[email protected]
nginx Info Page

Thanks for confirming this. It would be nice if we can have this
documented
here:
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_request_buffering
.

Posted at Nginx Forum:

Hello!

On Wed, Apr 01, 2015 at 07:10:00AM -0400, patrickshan wrote:

Maxim D. Wrote:

On Sun, Mar 29, 2015 at 01:51:15AM -0400, cubicdaiya wrote:

[…]

Is proxy_request_buffering always enabled when SPDY is enabled?

Yes, it is not currently possible to switch off
proxy_request_buffering
when using SPDY.

Thanks for confirming this. It would be nice if we can have this documented
here:
Module ngx_http_proxy_module
.

Rather, at Module ngx_http_spdy_module.
Yes, we’ll consider this, thanks.


Maxim D.
http://nginx.org/

Hello.

2015-04-01 9:18 GMT+09:00 Maxim D. [email protected]:
Yes, it is not currently possible to switch off proxy_request_buffering
when using SPDY.

Thanks. My question was resolved.

Posted at Nginx Forum:

K. Thanks Maxim :slight_smile:

Posted at Nginx Forum: