Welcome! Log In Create A New Profile

Advanced

Re: [nginx] Decreased the NGX_HTTP_MAX_SUBREQUESTS limit.

September 01, 2015 04:20AM
On 01/09/2015 06:58, Yichun Zhang (agentzh) wrote:
> Hello!
>
> On Tue, Sep 1, 2015 at 4:29 AM, Valentin Bartenev wrote:
>> #define NGX_HTTP_MAX_URI_CHANGES 10
>> -#define NGX_HTTP_MAX_SUBREQUESTS 200
>> +#define NGX_HTTP_MAX_SUBREQUESTS 50
>>
> Hmm, this change makes me sad. In our ngx_lua module, for example, we
> allow programatic parallel subrequests via the
> ngx.location.capture_multi() Lua API:
>
> https://github.com/openresty/lua-nginx-module#ngxlocationcapture_multi
>
> We'd better provide larger values in such hard-coded limits rather
> than smaller (unless we provide a way to allow 3rd-party nginx C
> modules to override it).
>
Same here we have a module which uses dynamic sub-requests to split huge
file requests in large amounts of smaller ranged requests which this
change would likely break.

Regards
Steve

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Decreased the NGX_HTTP_MAX_SUBREQUESTS limit.

Valentin Bartenev 843 August 31, 2015 04:30PM

Re: [nginx] Decreased the NGX_HTTP_MAX_SUBREQUESTS limit.

Yichun Zhang (agentzh) 338 September 01, 2015 02:00AM

Re: [nginx] Decreased the NGX_HTTP_MAX_SUBREQUESTS limit.

steveh 461 September 01, 2015 04:20AM

Re: [nginx] Decreased the NGX_HTTP_MAX_SUBREQUESTS limit.

Valentin V. Bartenev 374 September 01, 2015 06:16AM

Re: [nginx] Decreased the NGX_HTTP_MAX_SUBREQUESTS limit.

Yichun Zhang (agentzh) 416 September 01, 2015 11:04AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 214
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready