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
d6210a9f
Commit
d6210a9f
authored
Jan 31, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A little bit more coverage of vcc_expr.c
parent
db72da16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
v00020.vtc
bin/varnishtest/tests/v00020.vtc
+15
-1
No files found.
bin/varnishtest/tests/v00020.vtc
View file @
d6210a9f
...
@@ -42,7 +42,7 @@ varnish v1 -badvcl {
...
@@ -42,7 +42,7 @@ varnish v1 -badvcl {
varnish v1 -badvcl {
varnish v1 -badvcl {
sub vcl_recv {
sub vcl_recv {
if (req.grace < 3s || req.grace) {
if (req.grace <
-
3s || req.grace) {
set req.http.foo = vcl_recv;
set req.http.foo = vcl_recv;
}
}
}
}
...
@@ -67,3 +67,17 @@ varnish v1 -badvcl {
...
@@ -67,3 +67,17 @@ varnish v1 -badvcl {
set req.http.foo = req.grace + beresp.status;
set req.http.foo = req.grace + beresp.status;
}
}
}
}
varnish v1 -badvcl {
sub vcl_fetch {
if (! req.grace) {
}
}
}
varnish v1 -badvcl {
sub vcl_fetch {
if (beresp.do_gzip + beresp.do_gunzip) {
}
}
}
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