git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1682
d4fa192b-c00b-0410-8231-
f00ffab90ce4
const char *doclose;
struct http *http;
+ /* Timestamps, all on TIM_real() timescale */
double t_open;
double t_req;
double t_resp;
#include <stdlib.h>
#include <string.h>
+#include <math.h>
#include <sys/uio.h>
#include <sys/socket.h>
sp->mysockaddr = (void*)(&sm->sockaddr[1]);
sp->mysockaddrlen = sizeof(sm->sockaddr[1]);
sp->sockaddr->sa_family = sp->mysockaddr->sa_family = PF_UNSPEC;
+ sp->t_open = NAN;
+ sp->t_req = NAN;
+ sp->t_resp = NAN;
+ sp->t_end = NAN;
assert(len <= sp->sockaddrlen);
if (addr != NULL) {