From 83001b26e9e8536bd954a48cf16a5a7d8cb8c2a5 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 11 Sep 2006 09:05:39 +0000 Subject: [PATCH] Avoid a clock_gettime() call git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@955 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_acceptor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishd/cache_acceptor.c b/varnish-cache/bin/varnishd/cache_acceptor.c index 7504d52e..293fdbf6 100644 --- a/varnish-cache/bin/varnishd/cache_acceptor.c +++ b/varnish-cache/bin/varnishd/cache_acceptor.c @@ -160,7 +160,7 @@ vca_return_session(struct sess *sp) AZ(sp->vcl); if (sp->fd >= 0) { VSL(SLT_SessionReuse, sp->fd, "%s %s", sp->addr, sp->port); - (void)clock_gettime(CLOCK_REALTIME, &sp->t_open); + sp->t_open = sp->t_end; if (http_RecvPrepAgain(sp->http)) { vca_handover(sp, 0); return; -- 2.39.5