Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_core_module.xml @ 2793:4934cbc1db19
Changed default value of sendfile_max_chunk to 2m.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 02 Nov 2021 14:39:02 +0000 |
parents | 00afc7c4d4df |
children | 691de23367a7 |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml Tue Nov 02 18:03:05 2021 +0300 +++ b/xml/en/docs/http/ngx_http_core_module.xml Tue Nov 02 14:39:02 2021 +0000 @@ -10,7 +10,7 @@ <module name="Module ngx_http_core_module" link="/en/docs/http/ngx_http_core_module.html" lang="en" - rev="97"> + rev="98"> <section id="directives" name="Directives"> @@ -2399,15 +2399,18 @@ <directive name="sendfile_max_chunk"> <syntax><value>size</value></syntax> -<default>0</default> +<default>2m</default> <context>http</context> <context>server</context> <context>location</context> <para> -When set to a non-zero value, limits the amount of data that can be +Limits the amount of data that can be transferred in a single <c-func>sendfile</c-func> call. Without the limit, one fast connection may seize the worker process entirely. +<note> +Prior to version 1.21.4, by default there was no limit. +</note> </para> </directive>