Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
c138645f
Commit
c138645f
authored
Mar 13, 2018
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VMOD unix doc fixes.
parent
90c4b747
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vmod.vcc
lib/libvmod_unix/vmod.vcc
+3
-1
No files found.
lib/libvmod_unix/vmod.vcc
View file @
c138645f
...
...
@@ -19,6 +19,8 @@ it.
Examples::
import unix;
sub vcl_recv {
# Return "403 Forbidden" if the connected peer is
# not running as the user "trusteduser".
...
...
@@ -92,7 +94,7 @@ All functions in this VMOD are subject to the following constraints:
* 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
``vmod_group``) return NULL, while the INT functions (``vmod_u
ser
``
``vmod_group``) return NULL, while the INT functions (``vmod_u
id
``
and ``vmod_gid``) return -1.
SEE ALSO
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment