summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_request.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_http_request.c')
-rw-r--r--src/nxt_http_request.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_http_request.c b/src/nxt_http_request.c
index 7a790f73..5c1455bf 100644
--- a/src/nxt_http_request.c
+++ b/src/nxt_http_request.c
@@ -278,6 +278,8 @@ nxt_http_request_create(nxt_task_t *task)
r->resp.content_length_n = -1;
r->state = &nxt_http_request_init_state;
+ r->start_time = nxt_thread_monotonic_time(task->thread);
+
task->thread->engine->requests_cnt++;
return r;