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
b64cb1ec
Commit
b64cb1ec
authored
May 27, 2020
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Centralize VFP storage error log
parent
6f1563cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
cache_fetch.c
bin/varnishd/cache/cache_fetch.c
+1
-4
No files found.
bin/varnishd/cache/cache_fetch.c
View file @
b64cb1ec
...
...
@@ -169,7 +169,7 @@ vbf_beresp2obj(struct busyobj *bo)
if
(
vary
!=
NULL
)
VSB_destroy
(
&
vary
);
AZ
(
vary
);
return
(
-
1
);
return
(
VFP_Error
(
bo
->
vfc
,
"Could not get storage"
)
);
}
if
(
vary
!=
NULL
)
{
...
...
@@ -617,7 +617,6 @@ vbf_stp_fetch(struct worker *wrk, struct busyobj *bo)
}
if
(
vbf_beresp2obj
(
bo
))
{
(
void
)
VFP_Error
(
bo
->
vfc
,
"Could not get storage"
);
bo
->
htc
->
doclose
=
SC_RX_BODY
;
vbf_cleanup
(
bo
);
return
(
F_STP_ERROR
);
...
...
@@ -760,7 +759,6 @@ vbf_stp_condfetch(struct worker *wrk, struct busyobj *bo)
AZ
(
stale_oc
->
flags
&
OC_F_FAILED
);
if
(
vbf_beresp2obj
(
bo
))
{
(
void
)
VFP_Error
(
bo
->
vfc
,
"Could not get storage in vbf_stp_condfetch"
);
vbf_cleanup
(
bo
);
wrk
->
stats
->
fetch_failed
++
;
return
(
F_STP_FAIL
);
...
...
@@ -897,7 +895,6 @@ vbf_stp_error(struct worker *wrk, struct busyobj *bo)
assert
(
bo
->
vfc
->
req
==
bo
->
bereq
);
if
(
vbf_beresp2obj
(
bo
))
{
(
void
)
VFP_Error
(
bo
->
vfc
,
"Could not get storage"
);
VSB_destroy
(
&
synth_body
);
return
(
F_STP_FAIL
);
}
...
...
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