Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-blobcode
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
libvmod-blobcode
Commits
371122cd
Commit
371122cd
authored
Feb 09, 2017
by
Nils Goroll
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update README on use of encode/decode/transocde in vcl_init()/vcl_fini()
parent
59a83c24
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
README.rst
README.rst
+6
-0
No files found.
README.rst
View file @
371122cd
...
...
@@ -404,6 +404,12 @@ string is an illegal format for the decoding scheme.
If the ``blob`` object constructor fails, then the VCL program will
fail to load, and the VCC compiler will emit an error message.
For varnish versions before 5.0, the VMOD functions -- ``encode()``,
``decode()`` and ``transcode()`` -- may not be called in
``vcl_init()`` or ``vcl_fini()`` (since a workspace must be
available). Use in ``vcl_init()`` will also cause the VCL program to
fail with a VCC compiler error.
If any of the VMOD's methods or functions fail at runtime, then an
error message will be written to the Varnish log using the tag
``VCL_Error``. The encoders and decoders return ``NULL`` on failure;
...
...
Nils Goroll
@slink
mentioned in commit
e06a972c
·
Feb 17, 2017
mentioned in commit
e06a972c
mentioned in commit e06a972c65534114edec37eaa94415ef1de44731
Toggle commit list
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