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
a7f8e658
Commit
a7f8e658
authored
Jun 15, 2015
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve description
parent
968fc3ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
vmod.vcc
lib/libvmod_std/vmod.vcc
+8
-7
No files found.
lib/libvmod_std/vmod.vcc
View file @
a7f8e658
...
...
@@ -86,9 +86,9 @@ Example
$Function VOID syslog(INT priority, STRING_LIST s)
Description
Logs the string *s* to syslog
mark
ed with *priority*. *priority*
is formed by ORing the facility and
priority values.
See your
system's syslog.h file for p
riorities and facility cod
es.
Logs the string *s* to syslog
tagg
ed with *priority*. *priority*
is formed by ORing the facility and
level values.
See your
system's syslog.h file for p
ossible valu
es.
Example
std.syslog(9, "Something is wrong");
...
...
@@ -107,13 +107,14 @@ Example
$Function VOID collect(HEADER hdr)
Description
Collapses the header *hdr*, joining them into one.
Collapses multiple *hdr* headers into one long header.
Care should be taken when collapsing headers. In particular
collapsing Set-Cookie will lead to unexpected results on the
browser side.
Example
std.collect(req.http.cookie);
This will collapse several Cookie: headers into one, long
cookie header.
$Function DURATION duration(STRING s, DURATION fallback)
Description
...
...
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