Commit c6bcb42c authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add an XXX comment


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1688 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent a4e84f42
......@@ -121,6 +121,14 @@ RFC2616_Ttl(struct sess *sp, struct http *hp, struct object *obj)
retirement_age = u1 - u2;
}
/*
* XXX: if the backends time is too skewed relative to our own
* XXX: we should blacklist the backend, to avoid getting totally
* XXX: bogus results further down. Exactly what "too skewed" means
* XXX: in this context is a good question. It could be determined
* XXX: out according to the backends headers, but a simple fixed
* XXX: tolerance of a minute either way would be more predictable.
*/
h_date = 0;
if (http_GetHdr(hp, H_Date, &p))
h_date = TIM_parse(p);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment