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
a3fcdabb
Commit
a3fcdabb
authored
Apr 15, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment on #2951
parent
9bb68d85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
cache_fetch.c
bin/varnishd/cache/cache_fetch.c
+13
-0
No files found.
bin/varnishd/cache/cache_fetch.c
View file @
a3fcdabb
...
...
@@ -674,6 +674,19 @@ vbf_stp_condfetch(struct worker *wrk, struct busyobj *bo)
/*--------------------------------------------------------------------
* Create synth object
*
* replaces a stale object unless
* - abandoning the bereq or
* - leaving vcl_backend_error with return (deliver) and beresp.ttl == 0s or
* - there is a waitinglist on this object because in this case the default ttl
* would be 1s, so we might be looking at the same case as the previous
*
* We do want the stale replacement to avoid an object pileup with short ttl and
* long grace/keep, yet there could exist cases where a cache object is
* deliberately created to momentarily override a stale object.
*
* If this case exists, we should add a vcl veto (e.g. beresp.replace_stale with
* default true)
*/
static
enum
fetch_step
...
...
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