]> git.kaiwu.me - nginx.git/commit
Core: extended ngx_sock_ntop() with socklen parameter.
authorVladimir Homutov <vl@nginx.com>
Thu, 11 Jul 2013 12:07:25 +0000 (16:07 +0400)
committerVladimir Homutov <vl@nginx.com>
Thu, 11 Jul 2013 12:07:25 +0000 (16:07 +0400)
commitaf18946d769296d9efead825a0d1aa6a1a41fe74
tree6b34cebcacea394e0126bcff647a3e73ab25c36d
parent050f74b751c10eeb2491ec6509d0508a7e690209
Core: extended ngx_sock_ntop() with socklen parameter.

On Linux, sockaddr length is required to process unix socket addresses properly
due to unnamed sockets (which don't have sun_path set at all) and abstract
namespace sockets.
src/core/ngx_connection.c
src/core/ngx_inet.c
src/core/ngx_inet.h
src/event/ngx_event_accept.c
src/event/ngx_event_acceptex.c
src/event/ngx_event_openssl_stapling.c
src/http/modules/ngx_http_realip_module.c
src/http/ngx_http_core_module.c
src/mail/ngx_mail.c
src/mail/ngx_mail_core_module.c