summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_request.c
diff options
context:
space:
mode:
authorZhidao HONG <z.hong@f5.com>2022-08-29 14:32:20 +0800
committerZhidao HONG <z.hong@f5.com>2022-08-29 14:32:20 +0800
commit3ea113fcb7261a0be3b9dc8d32c402da1bcfadaa (patch)
treee262c8881ede343ba966b04d2eb43d8af596519a /src/nxt_http_request.c
parentce26dd729e6842c9ec8cc83bf091167e4c50a1ec (diff)
downloadunit-3ea113fcb7261a0be3b9dc8d32c402da1bcfadaa.tar.gz
unit-3ea113fcb7261a0be3b9dc8d32c402da1bcfadaa.tar.bz2
Status: added requests count.
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 a16340de..943ad82d 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;
+ task->thread->engine->requests_cnt++;
+
return r;
fail: