Merge of r4945, r4984: ngx_inet.[ch] minor fixes.

*) 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.

*) Properly initialize "struct in6_addr" with zeroes.


git-svn-id: svn://svn.nginx.org/nginx/branches/stable-1.2@5038 73f98a42-aea0-e011-b76d-00259023448c
Merge of r4946, r4978: perl.

*) Fixed build with embedded perl in certain setups (ticket #48).

*) Brought the link to ngx_http_perl_module documentation up to date.


git-svn-id: svn://svn.nginx.org/nginx/branches/stable-1.2@5039 73f98a42-aea0-e011-b76d-00259023448c
Merge of r4947: xslt: prevented infinite loop.

If XSLT transformation failed and error 500 was handled in the same
location, an infinite loop occured that exhausted the stack.


git-svn-id: svn://svn.nginx.org/nginx/branches/stable-1.2@5040 73f98a42-aea0-e011-b76d-00259023448c