Supporting UNIX sockets in address matching.
This closes #645 issue on GitHub. (Also moved a changelog line that was misplaced in a previous commit.)
This commit is contained in:
@@ -1818,6 +1818,13 @@ nxt_http_route_addr_pattern_match(nxt_http_route_addr_pattern_t *p,
|
||||
break;
|
||||
#endif
|
||||
|
||||
#if (NXT_HAVE_UNIX_DOMAIN)
|
||||
case AF_UNIX:
|
||||
|
||||
match = (base->addr_family == AF_UNIX);
|
||||
break;
|
||||
#endif
|
||||
|
||||
default:
|
||||
match = 0;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user