Mercurial > hg > nginx-site
changeset 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 |
files | xml/en/docs/http/ngx_http_core_module.xml |
diffstat | 1 files changed, 51 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml Mon Nov 07 14:07:37 2011 +0000 +++ b/xml/en/docs/http/ngx_http_core_module.xml Mon Nov 07 20:28:38 2011 +0000 @@ -1249,6 +1249,24 @@ </directive> +<directive name="max_ranges"> +<syntax><argument>number</argument></syntax> +<default/> +<context>http</context> +<context>server</context> +<context>location</context> + +<para> +Limits the maximum allowed number of ranges in byte-range requests. +Requests that exceed the limit are processed as if there were no +byte ranges specified. +By default, there is no limit. +The value of zero disables the byte-range support completely. +</para> + +</directive> + + <directive name="merge_slashes"> <syntax><value>on</value> | <value>off</value></syntax> <default>on</default> @@ -1527,6 +1545,22 @@ </directive> +<directive name="postpone_output"> +<syntax><argument>size</argument></syntax> +<default>1460</default> +<context>http</context> +<context>server</context> +<context>location</context> + +<para> +If possible, the output of client data will be postponed until +nginx has at least <argument>size</argument> bytes of data to send. +Value of zero disables postponing. +</para> + +</directive> + + <directive name="read_ahead"> <syntax><argument>size</argument></syntax> <default>0</default> @@ -1769,6 +1803,23 @@ </directive> +<directive name="sendfile_max_chunk"> + +<syntax><argument>size</argument></syntax> +<default>0</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 +transferred in a single <c-func>sendfile</c-func> call. +Without the limit, one fast connection may seize the worker process. +</para> + +</directive> + + <directive name="server"> <syntax block="yes"/> <default/>