Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_memcached_module.xml @ 2254:d765ffffd08c
Documented proxy_socket_keepalive and friends.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 09 Oct 2018 19:56:33 +0300 |
parents | d7d65cc0aa1e |
children | 53734009b0c3 |
comparison
equal
deleted
inserted
replaced
2253:a89093ff86a3 | 2254:d765ffffd08c |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_memcached_module" | 10 <module name="Module ngx_http_memcached_module" |
11 link="/en/docs/http/ngx_http_memcached_module.html" | 11 link="/en/docs/http/ngx_http_memcached_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="16"> | 13 rev="17"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_memcached_module</literal> module is used to obtain | 18 The <literal>ngx_http_memcached_module</literal> module is used to obtain |
316 the connection is closed. | 316 the connection is closed. |
317 </para> | 317 </para> |
318 | 318 |
319 </directive> | 319 </directive> |
320 | 320 |
321 | |
322 <directive name="memcached_socket_keepalive"> | |
323 <syntax><literal>on</literal> | <literal>off</literal></syntax> | |
324 <default>off</default> | |
325 <context>http</context> | |
326 <context>server</context> | |
327 <context>location</context> | |
328 <appeared-in>1.15.6</appeared-in> | |
329 | |
330 <para> | |
331 Configures the “TCP keepalive” behavior | |
332 for outgoing connections to a memcached server. | |
333 By default, the operating system’s settings are in effect for the socket. | |
334 If the directive is set to the value “<literal>on</literal>”, the | |
335 <c-def>SO_KEEPALIVE</c-def> socket option is turned on for the socket. | |
336 </para> | |
337 | |
338 </directive> | |
339 | |
321 </section> | 340 </section> |
322 | 341 |
323 | 342 |
324 <section id="variables" name="Embedded Variables"> | 343 <section id="variables" name="Embedded Variables"> |
325 | 344 |