# HG changeset patch # User Ruslan Ermilov # Date 1343654012 0 # Node ID f719475530003021fd9d09fd2e7688576ffe9883 # Parent 39a51e664374eaec0f7541cf2b92f5c10ed1896c If "debug_connection" directive's parameter is specified using a hostname, all resolved IPv4 addresses are now used, not only the first one. diff -r 39a51e664374 -r f71947553000 xml/en/docs/ngx_core_module.xml --- a/xml/en/docs/ngx_core_module.xml Thu Jul 26 21:23:57 2012 +0000 +++ b/xml/en/docs/ngx_core_module.xml Mon Jul 30 13:13:32 2012 +0000 @@ -98,8 +98,11 @@ directive. Debugged connections are specified by IPv4 or IPv6 (1.3.0, 1.2.1) address or network. -A connection may also be specified using a hostname, in which case the -first IPv4 address corresponding to a name is used. +A connection may also be specified using a hostname, in which case +all IPv4 addresses corresponding to a name are used. + +Prior to version 1.3.4 only the first IPv4 address was used in this case. + For connections using UNIX-domain sockets (1.3.0, 1.2.1), debugging log is enabled by the “unix:” parameter. diff -r 39a51e664374 -r f71947553000 xml/ru/docs/ngx_core_module.xml --- a/xml/ru/docs/ngx_core_module.xml Thu Jul 26 21:23:57 2012 +0000 +++ b/xml/ru/docs/ngx_core_module.xml Mon Jul 30 13:13:32 2012 +0000 @@ -99,7 +99,10 @@ Отлаживаемые соединения задаются IPv4 или IPv6 (1.3.0, 1.2.1) адресом или сетью. Соединение может быть также задано при помощи имени хоста, в этом случае -используется первый IPv4-адрес, соответствующий имени. +используются все IPv4-адреса, соответствующие имени. + +До версии 1.3.4 в этом случае использовался только первый IPv4-адрес. + Отладочный лог для соединений через UNIX-сокеты (1.3.0, 1.2.1) включается параметром “unix:”.