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
10e14166
Commit
10e14166
authored
May 03, 2013
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove req argument from vcl_backend_fetch{}
parent
8410629b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
cache_req_fsm.c
bin/varnishd/cache/cache_req_fsm.c
+2
-2
r00781.vtc
bin/varnishtest/tests/r00781.vtc
+1
-1
No files found.
bin/varnishd/cache/cache_req_fsm.c
View file @
10e14166
...
...
@@ -924,7 +924,7 @@ cnt_miss(struct worker *wrk, struct req *req)
http_SetHeader
(
bo
->
bereq
,
"Accept-Encoding: gzip"
);
}
VCL_backend_fetch_method
(
bo
->
vcl
,
wrk
,
req
,
bo
,
bo
->
bereq
->
ws
);
VCL_backend_fetch_method
(
bo
->
vcl
,
wrk
,
NULL
,
bo
,
bo
->
bereq
->
ws
);
VCL_miss_method
(
req
->
vcl
,
wrk
,
req
,
NULL
,
req
->
http
->
ws
);
if
(
wrk
->
handling
==
VCL_RET_FETCH
)
{
...
...
@@ -989,7 +989,7 @@ cnt_pass(struct worker *wrk, struct req *req)
HTTP_Setup
(
bo
->
bereq
,
bo
->
ws
,
bo
->
vsl
,
HTTP_Bereq
);
http_FilterReq
(
req
,
HTTPH_R_PASS
);
VCL_backend_fetch_method
(
bo
->
vcl
,
wrk
,
req
,
bo
,
bo
->
bereq
->
ws
);
VCL_backend_fetch_method
(
bo
->
vcl
,
wrk
,
NULL
,
bo
,
bo
->
bereq
->
ws
);
VCL_pass_method
(
bo
->
vcl
,
wrk
,
req
,
bo
,
bo
->
bereq
->
ws
);
if
(
wrk
->
handling
==
VCL_RET_ERROR
)
{
...
...
bin/varnishtest/tests/r00781.vtc
View file @
10e14166
...
...
@@ -10,7 +10,7 @@ varnish v1 -vcl+backend {
set req.url = req.http.foo;
}
sub vcl_backend_fetch {
set bereq.url = req.http.foo;
set bereq.url =
be
req.http.foo;
}
} -start
...
...
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