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
98c23bb1
Commit
98c23bb1
authored
Jan 22, 2013
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A restart in vcl_fetch{} needs to loose the objcore as well.
Fixes #1253
parent
e7025e7c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
r01253.vtc
bin/varnishtest/tests/r01253.vtc
+26
-0
No files found.
bin/varnishtest/tests/r01253.vtc
0 → 100644
View file @
98c23bb1
varnishtest "restarting a pass in vcl_fetch should not panic"
server s1 {
rxreq
txresp -status 304 -body "1234"
accept
rxreq
txresp -status 200 -body "56"
} -start
varnish v1 -vcl+backend {
sub vcl_recv {
return (pass);
}
sub vcl_fetch {
if (beresp.status != 200) {
return (restart);
}
}
} -start
client c1 {
txreq
rxresp
expect resp.bodylen == 2
} -run
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