Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
slash
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
slash
Commits
3aba33be
Unverified
Commit
3aba33be
authored
Dec 11, 2023
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
For e29.vtc, also execute a reasonably complex regex match
parent
00264865
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
fellow_e00029.vtc
src/vtc/fellow_e00029.vtc
+8
-0
No files found.
src/vtc/fellow_e00029.vtc
View file @
3aba33be
...
...
@@ -22,6 +22,11 @@ varnish v1 \
-arg "-sfellow=fellow,${tmpdir}/fellow_global.stv,100MB,1MB,64KB" \
-arg "-p feature=+esi_include_onerror" \
-vcl+backend {
sub vcl_deliver {
# ref r01576.vtc
set resp.http.torture =
req.url + "${string,repeat,128,AB}" ~ "^/(A{1,2}B)+$";
}
sub vcl_backend_response {
set beresp.do_esi = true;
set beresp.do_gzip = true;
...
...
@@ -29,6 +34,7 @@ varnish v1 \
} -start
logexpect l1 -v v1 -g raw {
fail add * VCL_Error {Regexp matching failed}
expect * * VCL_Error {^ESI depth limit reached}
expect 0 = VCL_Error {^ESI depth limit reached}
expect * * VCL_Error {^ESI depth limit reached}
...
...
@@ -36,11 +42,13 @@ logexpect l1 -v v1 -g raw {
expect * * VCL_Error {^ESI depth limit reached}
expect 0 = VCL_Error {^ESI depth limit reached}
#... more
fail clear
} -start
client c1 {
txreq -hdr "Host: foo" -hdr "Accept-Encoding: gzip"
rxresp
expect resp.status == 200
} -run
logexpect l1 -wait
\ No newline at end of file
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