Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_core_module.xml @ 176:0883fc5aabc9
Documented the "keepalive_disable" and "send_lowat" directives.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 09 Nov 2011 10:51:40 +0000 |
parents | 3381ae6a93e4 |
children | 05e7496801ec |
comparison
equal
deleted
inserted
replaced
175:3381ae6a93e4 | 176:0883fc5aabc9 |
---|---|
631 | 631 |
632 location /404.html { | 632 location /404.html { |
633 internal; | 633 internal; |
634 } | 634 } |
635 </example> | 635 </example> |
636 </para> | |
637 | |
638 </directive> | |
639 | |
640 | |
641 <directive name="keepalive_disable"> | |
642 <syntax><value>none</value> | <argument>browser</argument> ...</syntax> | |
643 <default>msie6 safari</default> | |
644 <context>http</context> | |
645 <context>server</context> | |
646 <context>location</context> | |
647 | |
648 <para> | |
649 Disables keep-alive connections with misbehaving browsers. | |
650 The <argument>browser</argument> arguments specify which | |
651 browsers will be affected. | |
652 The value <value>msie6</value> disables keep-alive connections | |
653 with some old versions of MSIE, after seeing a POST request. | |
654 The value <value>safari</value> disables keep-alive connections | |
655 with Safari browsers. | |
656 The value <value>none</value> enables keep-alive connections | |
657 with all browsers. | |
636 </para> | 658 </para> |
637 | 659 |
638 </directive> | 660 </directive> |
639 | 661 |
640 | 662 |
1766 </para> | 1788 </para> |
1767 | 1789 |
1768 </directive> | 1790 </directive> |
1769 | 1791 |
1770 | 1792 |
1793 <directive name="send_lowat"> | |
1794 <syntax><argument>size</argument></syntax> | |
1795 <default>0</default> | |
1796 <context>http</context> | |
1797 <context>server</context> | |
1798 <context>location</context> | |
1799 | |
1800 <para> | |
1801 If set to a non-zero value, nginx will try to minimize the number | |
1802 of send operations on client sockets by using either | |
1803 <c-def>NOTE_LOWAT</c-def> flag of | |
1804 <link doc="../events.xml" id="kqueue"/>, | |
1805 or the <c-def>SO_SNDLOWAT</c-def> socket option, | |
1806 with the specified <argument>size</argument>. | |
1807 </para> | |
1808 | |
1809 <para> | |
1810 This directive is ignored on Linux, Solaris, and Windows. | |
1811 </para> | |
1812 | |
1813 </directive> | |
1814 | |
1815 | |
1771 <directive name="send_timeout"> | 1816 <directive name="send_timeout"> |
1772 <syntax><argument>time</argument></syntax> | 1817 <syntax><argument>time</argument></syntax> |
1773 <default>60s</default> | 1818 <default>60s</default> |
1774 <context>http</context> | 1819 <context>http</context> |
1775 <context>server</context> | 1820 <context>server</context> |