]> git.kaiwu.me - nginx.git/commit
Fixed handling of UNIX-domain sockets.
authorRuslan Ermilov <ru@nginx.com>
Mon, 9 Dec 2013 06:16:44 +0000 (10:16 +0400)
committerRuslan Ermilov <ru@nginx.com>
Mon, 9 Dec 2013 06:16:44 +0000 (10:16 +0400)
commitfa512fdb7650b48826ef49754328980a6e357c9a
tree0687d9effe4f62626c583f4a8fd8326bdd817240
parent675e73e3bd70af7780ed8c9dde47d2d28a8a9f56
Fixed handling of UNIX-domain sockets.

When evaluating $local_port, $server_port, and $server_addr,
UNIX-domain sockets were mistakenly interpreted as IPv4 sockets.
src/core/ngx_connection.c
src/http/ngx_http_variables.c