--- a/src/server/daemon/httprequest.c Sat Oct 17 21:17:34 2015 +0200 +++ b/src/server/daemon/httprequest.c Sat Oct 17 22:24:38 2015 +0200 @@ -54,6 +54,8 @@ hd->alloc = 16; req->headers = hd; + + req->req_start = time(NULL); } void http_request_cleanup(HTTPRequest *req) { @@ -98,6 +100,7 @@ if(rq == NULL) { /* TODO: error */ } + rq->rq.req_start = request->req_start; rq->phase = NSAPIAuthTrans; // fill session structure