# HG changeset patch # User Yaroslav Zhuravlev # Date 1635863942 0 # Node ID 4934cbc1db19033a65cf51e76fcd16107d2b0bab # Parent c6713b6b86ce407d0e93b48221ff7ba2c7bac7cd Changed default value of sendfile_max_chunk to 2m. diff --git a/xml/en/docs/http/ngx_http_core_module.xml b/xml/en/docs/http/ngx_http_core_module.xml --- a/xml/en/docs/http/ngx_http_core_module.xml +++ b/xml/en/docs/http/ngx_http_core_module.xml @@ -10,7 +10,7 @@ + rev="98">
@@ -2399,15 +2399,18 @@ Before version 1.7.11, pre-loading could size -0 +2m http server location -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 sendfile call. Without the limit, one fast connection may seize the worker process entirely. + +Prior to version 1.21.4, by default there was no limit. + diff --git a/xml/ru/docs/http/ngx_http_core_module.xml b/xml/ru/docs/http/ngx_http_core_module.xml --- a/xml/ru/docs/http/ngx_http_core_module.xml +++ b/xml/ru/docs/http/ngx_http_core_module.xml @@ -10,7 +10,7 @@ + rev="98">
@@ -2400,16 +2400,19 @@ location /video/ { размер -0 +2m http server location -При установке в ненулевое значение ограничивает объём данных, +Ограничивает объём данных, который может передан за один вызов sendfile. Без этого ограничения одно быстрое соединение может целиком захватить рабочий процесс. + +До версии 1.21.4 по умолчанию ограничения не было. +