summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf_validation.c
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-02-28 12:12:30 +0100
committerAlejandro Colomar <alx.manpages@gmail.com>2022-07-26 16:24:33 +0200
commit6e36584a2e9bad0e7c4f96d68c527992deadc650 (patch)
tree927317d737b55d0bdec616d01cd39e10cbcb6f32 /src/nxt_conf_validation.c
parentc1cea3c97d5dfc260a54cab67b7dc1637a3deb59 (diff)
downloadunit-6e36584a2e9bad0e7c4f96d68c527992deadc650.tar.gz
unit-6e36584a2e9bad0e7c4f96d68c527992deadc650.tar.bz2
Supporting UNIX sockets in address matching.
This closes #645 issue on GitHub. (Also moved a changelog line that was misplaced in a previous commit.)
Diffstat (limited to 'src/nxt_conf_validation.c')
-rw-r--r--src/nxt_conf_validation.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nxt_conf_validation.c b/src/nxt_conf_validation.c
index 47164e92..8c532914 100644
--- a/src/nxt_conf_validation.c
+++ b/src/nxt_conf_validation.c
@@ -2157,6 +2157,11 @@ nxt_conf_vldt_match_addr(nxt_conf_validation_t *vldt,
return nxt_conf_vldt_error(vldt, "The \"address\" does not support "
"IPv6 with your configuration.");
+ case NXT_ADDR_PATTERN_NO_UNIX_ERROR:
+ return nxt_conf_vldt_error(vldt, "The \"address\" does not support "
+ "UNIX domain sockets with your "
+ "configuration.");
+
default:
return nxt_conf_vldt_error(vldt, "The \"address\" has an unknown "
"format.");