Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_core_module.xml @ 175:3381ae6a93e4
Documented the max_ranges, postpone_output, and sendfile_max_chunk directives.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 07 Nov 2011 20:28:38 +0000 |
parents | 69c131b0ebe0 |
children | 0883fc5aabc9 |
comparison
equal
deleted
inserted
replaced
174:69c131b0ebe0 | 175:3381ae6a93e4 |
---|---|
1247 </para> | 1247 </para> |
1248 | 1248 |
1249 </directive> | 1249 </directive> |
1250 | 1250 |
1251 | 1251 |
1252 <directive name="max_ranges"> | |
1253 <syntax><argument>number</argument></syntax> | |
1254 <default/> | |
1255 <context>http</context> | |
1256 <context>server</context> | |
1257 <context>location</context> | |
1258 | |
1259 <para> | |
1260 Limits the maximum allowed number of ranges in byte-range requests. | |
1261 Requests that exceed the limit are processed as if there were no | |
1262 byte ranges specified. | |
1263 By default, there is no limit. | |
1264 The value of zero disables the byte-range support completely. | |
1265 </para> | |
1266 | |
1267 </directive> | |
1268 | |
1269 | |
1252 <directive name="merge_slashes"> | 1270 <directive name="merge_slashes"> |
1253 <syntax><value>on</value> | <value>off</value></syntax> | 1271 <syntax><value>on</value> | <value>off</value></syntax> |
1254 <default>on</default> | 1272 <default>on</default> |
1255 <context>http</context> | 1273 <context>http</context> |
1256 <context>server</context> | 1274 <context>server</context> |
1525 </para> | 1543 </para> |
1526 | 1544 |
1527 </directive> | 1545 </directive> |
1528 | 1546 |
1529 | 1547 |
1548 <directive name="postpone_output"> | |
1549 <syntax><argument>size</argument></syntax> | |
1550 <default>1460</default> | |
1551 <context>http</context> | |
1552 <context>server</context> | |
1553 <context>location</context> | |
1554 | |
1555 <para> | |
1556 If possible, the output of client data will be postponed until | |
1557 nginx has at least <argument>size</argument> bytes of data to send. | |
1558 Value of zero disables postponing. | |
1559 </para> | |
1560 | |
1561 </directive> | |
1562 | |
1563 | |
1530 <directive name="read_ahead"> | 1564 <directive name="read_ahead"> |
1531 <syntax><argument>size</argument></syntax> | 1565 <syntax><argument>size</argument></syntax> |
1532 <default>0</default> | 1566 <default>0</default> |
1533 <context>http</context> | 1567 <context>http</context> |
1534 <context>server</context> | 1568 <context>server</context> |
1762 <context>if in location</context> | 1796 <context>if in location</context> |
1763 | 1797 |
1764 <para> | 1798 <para> |
1765 Enables or disables the use of | 1799 Enables or disables the use of |
1766 <c-func>sendfile</c-func>. | 1800 <c-func>sendfile</c-func>. |
1801 </para> | |
1802 | |
1803 </directive> | |
1804 | |
1805 | |
1806 <directive name="sendfile_max_chunk"> | |
1807 | |
1808 <syntax><argument>size</argument></syntax> | |
1809 <default>0</default> | |
1810 <context>http</context> | |
1811 <context>server</context> | |
1812 <context>location</context> | |
1813 | |
1814 <para> | |
1815 When set to a non-zero value, limits the amount of data that can be | |
1816 transferred in a single <c-func>sendfile</c-func> call. | |
1817 Without the limit, one fast connection may seize the worker process. | |
1767 </para> | 1818 </para> |
1768 | 1819 |
1769 </directive> | 1820 </directive> |
1770 | 1821 |
1771 | 1822 |