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
59a09675
Commit
59a09675
authored
Aug 02, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Slam grace and keep to zero if we fall back to a transient object.
Reminded by: Tollef Related to: #953
parent
a39f3ee6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
cache_center.c
bin/varnishd/cache_center.c
+2
-0
No files found.
bin/varnishd/cache_center.c
View file @
59a09675
...
...
@@ -756,6 +756,8 @@ cnt_fetchbody(struct sess *sp)
&
sp
->
wrk
->
exp
,
nhttp
);
if
(
sp
->
wrk
->
exp
.
ttl
>
params
->
shortlived
)
sp
->
wrk
->
exp
.
ttl
=
params
->
shortlived
;
sp
->
wrk
->
exp
.
grace
=
0
.
0
;
sp
->
wrk
->
exp
.
keep
=
0
.
0
;
}
if
(
sp
->
obj
==
NULL
)
{
sp
->
err_code
=
503
;
...
...
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