comparison xml/en/docs/ngx_core_module.xml @ 610:f71947553000

If "debug_connection" directive's parameter is specified using a hostname, all resolved IPv4 addresses are now used, not only the first one.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 30 Jul 2012 13:13:32 +0000
parents 764fbac1b8b4
children 0526cac4637e
comparison
equal deleted inserted replaced
609:39a51e664374 610:f71947553000
96 Enables debugging log for selected client connections. 96 Enables debugging log for selected client connections.
97 Other connections will use logging level set by the 97 Other connections will use logging level set by the
98 <link id="error_log"/> directive. 98 <link id="error_log"/> directive.
99 Debugged connections are specified by IPv4 or IPv6 (1.3.0, 1.2.1) 99 Debugged connections are specified by IPv4 or IPv6 (1.3.0, 1.2.1)
100 address or network. 100 address or network.
101 A connection may also be specified using a hostname, in which case the 101 A connection may also be specified using a hostname, in which case
102 first IPv4 address corresponding to a name is used. 102 all IPv4 addresses corresponding to a name are used.
103 <note>
104 Prior to version 1.3.4 only the first IPv4 address was used in this case.
105 </note>
103 For connections using UNIX-domain sockets (1.3.0, 1.2.1), 106 For connections using UNIX-domain sockets (1.3.0, 1.2.1),
104 debugging log is enabled by the “<literal>unix:</literal>” parameter. 107 debugging log is enabled by the “<literal>unix:</literal>” parameter.
105 <example> 108 <example>
106 events { 109 events {
107 debug_connection 127.0.0.1; 110 debug_connection 127.0.0.1;