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
40d62bd8
Commit
40d62bd8
authored
Mar 12, 2012
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Have FetchBody reset bo->vfp once it's done with it.
parent
b78280f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
cache_center.c
bin/varnishd/cache/cache_center.c
+0
-1
cache_fetch.c
bin/varnishd/cache/cache_fetch.c
+3
-1
No files found.
bin/varnishd/cache/cache_center.c
View file @
40d62bd8
...
...
@@ -916,7 +916,6 @@ cnt_fetchbody(struct sess *sp, struct worker *wrk, struct req *req)
(
void
)
usleep
(
10000
);
assert
(
bo
->
state
>=
BOS_FAILED
);
bo
->
vfp
=
NULL
;
assert
(
WRW_IsReleased
(
wrk
));
AZ
(
bo
->
vbc
);
AN
(
req
->
director
);
...
...
bin/varnishd/cache/cache_fetch.c
View file @
40d62bd8
...
...
@@ -625,6 +625,8 @@ FetchBody(struct worker *wrk, void *priv)
*/
AZ
(
vfp_nop_end
(
bo
));
bo
->
vfp
=
NULL
;
VSLb
(
bo
->
vsl
,
SLT_Fetch_Body
,
"%u(%s) cls %d mklen %d"
,
bo
->
body_status
,
body_status
(
bo
->
body_status
),
cls
,
mklen
);
...
...
@@ -674,7 +676,7 @@ FetchBody(struct worker *wrk, void *priv)
}
bo
->
stats
=
NULL
;
VBO_DerefBusyObj
(
NULL
,
&
bo
);
VBO_DerefBusyObj
(
wrk
,
&
bo
);
}
/*--------------------------------------------------------------------
...
...
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