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
591dd5b6
Commit
591dd5b6
authored
Oct 13, 2014
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unbreak backend retries
parent
1066f830
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
cache_backend.c
bin/varnishd/cache/cache_backend.c
+4
-2
No files found.
bin/varnishd/cache/cache_backend.c
View file @
591dd5b6
...
...
@@ -399,6 +399,7 @@ vbe_dir_gethdrs(const struct director *d, struct worker *wrk,
VSLb
(
bo
->
vsl
,
SLT_FetchError
,
"no backend connection"
);
return
(
-
1
);
}
AN
(
bo
->
htc
);
i
=
V1F_fetch_hdr
(
wrk
,
bo
);
/*
...
...
@@ -410,12 +411,13 @@ vbe_dir_gethdrs(const struct director *d, struct worker *wrk,
AZ
(
bo
->
htc
);
VSC_C_main
->
backend_retry
++
;
bo
->
doclose
=
SC_NULL
;
bo
->
htc
->
vbc
=
vbe_dir_getfd
(
d
,
bo
);
if
(
bo
->
htc
->
vbc
==
NULL
)
{
vbc
=
vbe_dir_getfd
(
d
,
bo
);
if
(
vbc
==
NULL
)
{
VSLb
(
bo
->
vsl
,
SLT_FetchError
,
"no backend connection"
);
bo
->
htc
=
NULL
;
return
(
-
1
);
}
AN
(
bo
->
htc
);
i
=
V1F_fetch_hdr
(
wrk
,
bo
);
}
if
(
i
!=
0
)
{
...
...
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