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:
http://forum.nginx.org/read.php?2,257731,257731#msg-257731

Same problem here. I suspect it’s automatically disabled when spdy is
enabled. And also found an issue here for tengine:
https://github.com/alibaba/tengine/issues/444. Might be a similar issue
?

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,257731,257740#msg-257740

Same problem here. I suspect it’s automatically disabled when spdy is
enabled. And also found an issue here for tengine:
https://github.com/alibaba/tengine/issues/444. Might be a similar issue ?

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

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,257731,257776#msg-257776

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]
http://mailman.nginx.org/mailman/listinfo/nginx

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:
http://forum.nginx.org/read.php?2,257731,257785#msg-257785

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:
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_request_buffering
.

Rather, at http://nginx.org/en/docs/http/ngx_http_spdy_module.html#bugs.
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:
http://forum.nginx.org/read.php?2,257731,257784#msg-257784

K. Thanks Maxim :slight_smile:

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,257731,257815#msg-257815

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs