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
2b8b174d
Commit
2b8b174d
authored
Jan 29, 2016
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reword
parent
e3aecb2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
vmod.rst
doc/sphinx/reference/vmod.rst
+6
-6
No files found.
doc/sphinx/reference/vmod.rst
View file @
2b8b174d
...
@@ -356,12 +356,12 @@ The per-call vmod_privs are freed before the per-vcl vmod_priv.
...
@@ -356,12 +356,12 @@ The per-call vmod_privs are freed before the per-vcl vmod_priv.
Event functions
Event functions
===============
===============
VMODs can have an "event" function which is called when a VCL which
imports
VMODs can have an "event" function which is called when a VCL which
the VMOD is loaded, made active,
or discarded. This corresponds to the
imports the VMOD is loaded
or discarded. This corresponds to the
``VCL_EVENT_LOAD``
, and ``VCL_EVENT_DISCARD`` events, respectively. In
``VCL_EVENT_LOAD``
and ``VCL_EVENT_DISCARD`` events, respectively.
addition, this function will be called when the VCL temperature is changed to
In addition, this function will be called when the VCL temperature is
c
old or warm, corresponding to the ``VCL_EVENT_COLD`` and ``VCL_EVENT_WARM``
c
hanged to cold or warm, corresponding to the ``VCL_EVENT_COLD`` and
events.
``VCL_EVENT_WARM``
events.
The first argument to the event function is a VRT context.
The first argument to the event function is a VRT context.
...
...
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