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
8143d06c
Commit
8143d06c
authored
Nov 13, 2013
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Always test-compile your RST changes...
parent
5cd1e7d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
vmod.rst
doc/sphinx/reference/vmod.rst
+10
-5
No files found.
doc/sphinx/reference/vmod.rst
View file @
8143d06c
...
...
@@ -35,7 +35,7 @@ VMOD Directory
The VMOD directory is an up-to-date compilation of maintained
extensions written for Varnish Cache:
https://www.varnish-cache.org/vmods
https://www.varnish-cache.org/vmods
The vmod.vcc file
=================
...
...
@@ -196,20 +196,25 @@ VOID
procedure.
HEADER
C-type: ``const struct gethdr_s *
''
C-type: ``const struct gethdr_s *
``
These are VCL compiler generated constants referencing
a particular header in a particular HTTP entity, for instance
``req.http.cookie'' or ``beresp.http.last-modified''
``req.http.cookie`` or ``beresp.http.last-modified``.
By passing a reference to the header, the VMOD code can
both read and write the header in question.
If the header was passed as STRING, the VMOD code only sees
the value, but not where it came from.
IP
C-type: ``const struct suckaddr *
''
C-type: ``const struct suckaddr *
``
This is an opaque type, see the ``include/vsa.h`` file for
which primitives we support on this type.
BOOL
C-type: ``unsigned
''
C-type: ``unsigned
``
Zero means false, anything else means true.
...
...
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