diff options
author | Zhidao HONG <z.hong@f5.com> | 2022-08-29 14:32:20 +0800 |
---|---|---|
committer | Zhidao HONG <z.hong@f5.com> | 2022-08-29 14:32:20 +0800 |
commit | 3ea113fcb7261a0be3b9dc8d32c402da1bcfadaa (patch) | |
tree | e262c8881ede343ba966b04d2eb43d8af596519a /src/nxt_http_request.c | |
parent | ce26dd729e6842c9ec8cc83bf091167e4c50a1ec (diff) | |
download | unit-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.c | 2 |
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: |