aboutsummaryrefslogtreecommitdiff
path: root/docs/xml/http
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-08-05 09:25:34 +0000
committerIgor Sysoev <igor@sysoev.ru>2011-08-05 09:25:34 +0000
commita6c91b11bf77264badc714e53e710803cf181a73 (patch)
treeb4576ab20a25dda2044d3ef64ab98af86d23f9bc /docs/xml/http
parentf549c03524626bde4ed52c6a009ac769079f5fb4 (diff)
downloadnginx-a6c91b11bf77264badc714e53e710803cf181a73.tar.gz
nginx-a6c91b11bf77264badc714e53e710803cf181a73.zip
skeleton for documentation processing
Diffstat (limited to 'docs/xml/http')
-rw-r--r--docs/xml/http/ngx_http_core_module.xml41
1 files changed, 41 insertions, 0 deletions
diff --git a/docs/xml/http/ngx_http_core_module.xml b/docs/xml/http/ngx_http_core_module.xml
new file mode 100644
index 000000000..54ff0c0c5
--- /dev/null
+++ b/docs/xml/http/ngx_http_core_module.xml
@@ -0,0 +1,41 @@
+<!DOCTYPE module SYSTEM "../../dtd/module.dtd">
+
+<module title="ngx_http_core_module"
+ link="/en/docs/http/ngx_http_core_module.html"
+ lang="en">
+
+<section title="Directives">
+
+<directive name="client_body_buffer_size">
+
+<syntax>client_body_buffer_size <value>size</value></syntax>
+<default>client_body_buffer_size 8k/16k</default>
+<context>http, server, location</context>
+
+<para>
+Directive sets client request body buffer size.
+If the request body is larger than the buffer,
+then the whole body or some its part is written to temporary file.
+By default buffer size is equal to 2 memory page sizes.
+This is 8K on x86, other 32-bit platforms, and x86-64.
+It is usually 16K on other 64-bit platforms.
+</para>
+
+</directive>
+
+
+<directive name="sendfile">
+
+<syntax>sendfile <value>[on|off]</value></syntax>
+<default>sendfile off</default>
+<context>http, server, location</context>
+
+<para>
+Directive enables or disables sendfile() usage.
+</para>
+
+</directive>
+
+</section>
+
+</module>