Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-objesi
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
libvmod-objesi
Commits
c8d71cf3
Unverified
Commit
c8d71cf3
authored
Jun 13, 2023
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use $Restrict
parent
4f74d404
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
vmod_objesi.c
src/vmod_objesi.c
+1
-6
vmod_objesi.vcc
src/vmod_objesi.vcc
+1
-1
No files found.
src/vmod_objesi.c
View file @
c8d71cf3
...
...
@@ -13,12 +13,7 @@ vmod_is_esi(VRT_CTX)
CHECK_OBJ_NOTNULL
(
ctx
,
VRT_CTX_MAGIC
);
if
((
ctx
->
method
&
VCL_MET_DELIVER
)
==
0
)
{
VRT_fail
(
ctx
,
"objesi.is_esi may only be called from "
"vcl_deliver {}"
);
return
(
0
);
}
assert
(
ctx
->
method
==
VCL_MET_DELIVER
);
req
=
ctx
->
req
;
CHECK_OBJ_NOTNULL
(
req
,
REQ_MAGIC
);
...
...
src/vmod_objesi.vcc
View file @
c8d71cf3
...
...
@@ -28,7 +28,7 @@ $Function BOOL is_esi()
Return true if ESI processing is active.
May only be called from ``vcl_deliver {}``.
$Restrict vcl_deliver
SEE ALSO
========vcl\(7),varnishd\(1)
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