[core] use sun_path for addr string for AF_UNIX (fixes #2826)
commit878dd9be499a7d271d808fdf73f804f9df77e564
authorGlenn Strauss <gstrauss@gluelogic.com>
Sat, 7 Oct 2017 17:05:25 +0000 (7 13:05 -0400)
committerGlenn Strauss <gstrauss@gluelogic.com>
Sat, 7 Oct 2017 17:16:52 +0000 (7 13:16 -0400)
tree2d043b7d0da3b22e13ec8563d6c6271b986d749a
parent7aff5046ace2e6e776b2a1bd6406acfc727b8ff5
[core] use sun_path for addr string for AF_UNIX (fixes #2826)

(occurs when lighttpd is configured to listen on unix socket path)

x-ref:
  "stale REMOTE_ADDR when using AF_UNIX socket"
  https://redmine.lighttpd.net/issues/2826
src/inet_ntop_cache.c