comparison 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
comparison
equal deleted inserted replaced
2792:c6713b6b86ce 2793:4934cbc1db19
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_core_module" 10 <module name="Module ngx_http_core_module"
11 link="/en/docs/http/ngx_http_core_module.html" 11 link="/en/docs/http/ngx_http_core_module.html"
12 lang="en" 12 lang="en"
13 rev="97"> 13 rev="98">
14 14
15 <section id="directives" name="Directives"> 15 <section id="directives" name="Directives">
16 16
17 <directive name="absolute_redirect"> 17 <directive name="absolute_redirect">
18 <syntax><literal>on</literal> | <literal>off</literal></syntax> 18 <syntax><literal>on</literal> | <literal>off</literal></syntax>
2397 2397
2398 2398
2399 <directive name="sendfile_max_chunk"> 2399 <directive name="sendfile_max_chunk">
2400 2400
2401 <syntax><value>size</value></syntax> 2401 <syntax><value>size</value></syntax>
2402 <default>0</default> 2402 <default>2m</default>
2403 <context>http</context> 2403 <context>http</context>
2404 <context>server</context> 2404 <context>server</context>
2405 <context>location</context> 2405 <context>location</context>
2406 2406
2407 <para> 2407 <para>
2408 When set to a non-zero value, limits the amount of data that can be 2408 Limits the amount of data that can be
2409 transferred in a single <c-func>sendfile</c-func> call. 2409 transferred in a single <c-func>sendfile</c-func> call.
2410 Without the limit, one fast connection may seize the worker process entirely. 2410 Without the limit, one fast connection may seize the worker process entirely.
2411 <note>
2412 Prior to version 1.21.4, by default there was no limit.
2413 </note>
2411 </para> 2414 </para>
2412 2415
2413 </directive> 2416 </directive>
2414 2417
2415 2418