Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
9ac381b8
Commit
9ac381b8
authored
Aug 30, 2011
by
Poul-Henning Kamp
Committed by
Tollef Fog Heen
Aug 30, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document vcl_init{} and vcl_fini{}
Fixes #990
parent
1e4f08ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
vcl.rst
doc/sphinx/reference/vcl.rst
+21
-0
No files found.
doc/sphinx/reference/vcl.rst
View file @
9ac381b8
...
...
@@ -62,7 +62,9 @@ depending on context one of
* error
* fetch
* hash
* hit_for_pass
* lookup
* ok
* pass
* pipe
* restart
...
...
@@ -382,6 +384,15 @@ decide how the request should be handled. Each subroutine terminates
by calling one of a small number of keywords which indicates the
desired outcome.
vcl_init
Called when VCL is loaded, before any requests pass through it.
Typically used to initialize VMODs.
return() values:
ok
Normal return, VCL continues loading.
vcl_recv
Called at the beginning of a request, after the complete request has
been received and parsed. Its purpose is to decide whether or not
...
...
@@ -545,6 +556,16 @@ vcl_error
of restarts is higher than *max_restarts* varnish emits a guru meditation
error.
vcl_fini
Called when VCL is discarded only after all requests have exited the VCL.
Typically used to clean up VMODs.
return() values:
ok
Normal return, VCL will be discarded.
If one of these subroutines is left undefined or terminates without
reaching a handling decision, control will be handed over to the
builtin default. See the EXAMPLES section for a listing of the
...
...
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