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
fd7c8bfc
Commit
fd7c8bfc
authored
Nov 13, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
assert that esi requests do start on vcl0
... which is the vcl the topreq started on
parent
78c65ef9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
cache_vpi.c
bin/varnishd/cache/cache_vpi.c
+3
-0
No files found.
bin/varnishd/cache/cache_vpi.c
View file @
fd7c8bfc
...
...
@@ -96,6 +96,9 @@ VPI_vcl_select(VRT_CTX, VCL_VCL vcl)
if
((
IS_TOPREQ
(
req
)
&&
req
->
top
->
vcl0
!=
NULL
)
||
req
->
restarts
>
0
)
return
;
// Illegal, req-FSM will fail this later.
if
(
!
IS_TOPREQ
(
req
))
assert
(
req
->
vcl
==
req
->
top
->
vcl0
);
/* XXX VCL_Task* are somewhat duplicated to those in Req_Rollback called
* from FSM for VCL_RET_VCL. Keeping them here to ensure there are no
* tasks during calls to VCL_Rel / vcl_get
...
...
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