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
5b212a2c
Commit
5b212a2c
authored
Oct 26, 2020
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Postpone VDP_Init() until we need it. Zero in the meantime.
parent
9d32fa37
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
cache_req.c
bin/varnishd/cache/cache_req.c
+1
-1
cache_req_fsm.c
bin/varnishd/cache/cache_req_fsm.c
+1
-0
No files found.
bin/varnishd/cache/cache_req.c
View file @
5b212a2c
...
...
@@ -131,7 +131,7 @@ Req_New(const struct worker *wrk, struct sess *sp)
p
=
(
void
*
)
PRNDUP
(
p
+
sizeof
(
*
req
->
htc
));
req
->
vdc
=
(
void
*
)
p
;
VDP_Init
(
req
->
vdc
);
memset
(
req
->
vdc
,
0
,
sizeof
*
req
->
vdc
);
p
=
(
void
*
)
PRNDUP
(
p
+
sizeof
(
*
req
->
vdc
));
req
->
htc
=
(
void
*
)
p
;
...
...
bin/varnishd/cache/cache_req_fsm.c
View file @
5b212a2c
...
...
@@ -425,6 +425,7 @@ cnt_transmit(struct worker *wrk, struct req *req)
sendbody
=
1
;
}
VDP_Init
(
req
->
vdc
);
if
(
req
->
filter_list
==
NULL
)
req
->
filter_list
=
resp_Get_Filter_List
(
req
);
if
(
req
->
filter_list
==
NULL
||
...
...
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