]> git.kaiwu.me - nginx.git/commit
Fixed the NGX_SOCKADDR_STRLEN macro definition.
authorRuslan Ermilov <ru@nginx.com>
Fri, 30 Nov 2012 11:26:50 +0000 (11:26 +0000)
committerRuslan Ermilov <ru@nginx.com>
Fri, 30 Nov 2012 11:26:50 +0000 (11:26 +0000)
commitf707bea0ee63f1e468a0a7070220968245fb4766
treef7bcaabef2353ef1cbcca4808fa4dcd2a89bfcdd
parentb63da701e5b3945198a507f5c604f3c2a6c4cb8b
Fixed the NGX_SOCKADDR_STRLEN macro definition.

The ngx_sock_ntop() function, when told to print both address and port,
prints IPv6 address in square brackets, followed by colon and port.
src/core/ngx_inet.h