[master] f346827 White-space OCD
Poul-Henning Kamp
phk at FreeBSD.org
Tue Mar 13 07:51:09 UTC 2018
commit f3468275891966ac10607e02d8cf698a19af5a64
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Mar 13 07:23:41 2018 +0000
White-space OCD
diff --git a/bin/varnishtest/tests/m00047.vtc b/bin/varnishtest/tests/m00047.vtc
index bfc8f7c..3eb3857 100644
--- a/bin/varnishtest/tests/m00047.vtc
+++ b/bin/varnishtest/tests/m00047.vtc
@@ -50,11 +50,11 @@ logexpect l1 -v v1 -d 1 -b {
} -run
logexpect l1 -v v1 -d 1 -c {
- expect * 1001 Begin req
- expect * = VCL_Error {^vmod unix error: not listening on a Unix domain socket$}
- expect * = VCL_Error {^vmod unix error: not listening on a Unix domain socket$}
- expect * = VCL_Error {^vmod unix error: not listening on a Unix domain socket$}
- expect * = VCL_Error {^vmod unix error: not listening on a Unix domain socket$}
+ expect * 1001 Begin req
+ expect * = VCL_Error {^vmod unix error: not listening on a Unix domain socket$}
+ expect * = VCL_Error {^vmod unix error: not listening on a Unix domain socket$}
+ expect * = VCL_Error {^vmod unix error: not listening on a Unix domain socket$}
+ expect * = VCL_Error {^vmod unix error: not listening on a Unix domain socket$}
} -run
diff --git a/lib/libvmod_unix/vmod.vcc b/lib/libvmod_unix/vmod.vcc
index 4e90bad..55d7f67 100644
--- a/lib/libvmod_unix/vmod.vcc
+++ b/lib/libvmod_unix/vmod.vcc
@@ -26,13 +26,13 @@ Examples::
}
# Require the connected peer to run in the group
- # "trustedgroup".
+ # "trustedgroup".
if (unix.group() != "trustedgroup") {
return( synth(403) );
}
# Require the connected peer to run under a specific numeric
- # user id.
+ # user id.
if (unix.uid() != 4711) {
return( synth(403) );
}
@@ -87,7 +87,7 @@ All functions in this VMOD are subject to the following constraints:
If the failure occurs during ``vcl_synth``, then ``vcl_synth`` is
aborted, and the the response line "503 VCL failed" is sent.
-
+
* If the current listener is not a Unix domain socket, or if the
attempt to read credentials fails, then a ``VCL_Error`` message is
written to the log. The STRING functions (``vmod_user`` and
More information about the varnish-commit
mailing list