"Connection: close\r\n"
"\r\n";
-static void
-dsleep(double t)
-{
- if (t > 100.0)
- (void)sleep((int)round(t));
- else
- (void)usleep((int)round(t * 1e6));
-}
-
/*--------------------------------------------------------------------
* Poke one backend, once, but possibly at both IPv4 and IPv6 addresses.
*
vt->last, vt->avg, vt->resp_buf);
if (!vt->stop)
- dsleep(vt->probe.interval);
+ TIM_sleep(vt->probe.interval);
}
return (NULL);
}
time_t TIM_parse(const char *p);
double TIM_mono(void);
double TIM_real(void);
+void TIM_sleep(double t);
/* from libvarnish/version.c */
void varnish_version(const char *);