Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_core_module.xml @ 1035:e9c485d6cc0c
Documented that "listen setfib=" implies "bind".
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 17 Dec 2013 19:02:54 +0400 |
parents | f7f23f5928ef |
children | 5894aa46ffef |
comparison
equal
deleted
inserted
replaced
1034:b4818b326885 | 1035:e9c485d6cc0c |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_core_module" | 10 <module name="Module ngx_http_core_module" |
11 link="/en/docs/http/ngx_http_core_module.html" | 11 link="/en/docs/http/ngx_http_core_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="26"> | 13 rev="27"> |
14 | 14 |
15 <section id="directives" name="Directives"> | 15 <section id="directives" name="Directives"> |
16 | 16 |
17 <directive name="aio"> | 17 <directive name="aio"> |
18 <syntax> | 18 <syntax> |
1285 <literal>listen</literal> directives listens on all addresses | 1285 <literal>listen</literal> directives listens on all addresses |
1286 for the given port (<literal>*:</literal><value>port</value>), nginx | 1286 for the given port (<literal>*:</literal><value>port</value>), nginx |
1287 will <c-func>bind</c-func> only to <literal>*:</literal><value>port</value>. | 1287 will <c-func>bind</c-func> only to <literal>*:</literal><value>port</value>. |
1288 It should be noted that the <c-func>getsockname</c-func> system call will be | 1288 It should be noted that the <c-func>getsockname</c-func> system call will be |
1289 made in this case to determine the address that accepted the connection. | 1289 made in this case to determine the address that accepted the connection. |
1290 If the <literal>backlog</literal>, <literal>rcvbuf</literal>, | 1290 If the <literal>setfib</literal>, |
1291 <literal>backlog</literal>, <literal>rcvbuf</literal>, | |
1291 <literal>sndbuf</literal>, <literal>accept_filter</literal>, | 1292 <literal>sndbuf</literal>, <literal>accept_filter</literal>, |
1292 <literal>deferred</literal>, or <literal>so_keepalive</literal> parameters | 1293 <literal>deferred</literal>, or <literal>so_keepalive</literal> parameters |
1293 are used then for a given | 1294 are used then for a given |
1294 <value>address</value>:<value>port</value> pair | 1295 <value>address</value>:<value>port</value> pair |
1295 a separate <c-func>bind</c-func> call will always be made. | 1296 a separate <c-func>bind</c-func> call will always be made. |