[Varnish] #623: Should use TIM_mono rather than TIM_real in most places
Varnish
varnish-bugs at projects.linpro.no
Thu Jan 21 12:02:19 CET 2010
#623: Should use TIM_mono rather than TIM_real in most places
----------------------+-----------------------------------------------------
Reporter: slink | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone: Later
Component: varnishd | Version: trunk
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
(Please assign this ticket to me if you like - I'd be happy to care about
this, but I'd also appreciate anyone else working on this - but let's
coordinate)
Various internal timers and timeouts are based upon TIM_real
(CLOCK_REALTIME) and as such are not invariant of adjustments to the "wall
clock" time. Varnish will behave erroneously if the clock is stepped, in
particular if it is stepped backwards.
TIM_mono should be used for internal timers and timeouts. Care must be
taken to preserve correct output for externally visible or referenced
timestamps, so I don't expect this to be a trivial change.
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/623>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list