summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2019-11-14 16:39:48 +0300
committerIgor Sysoev <igor@sysoev.ru>2019-11-14 16:39:48 +0300
commitd4e3951c4de0d17db943ea4a6ee1c9f570979358 (patch)
tree0fa17beb691b596ebea2a7c1718532abd7a5a976 /src/nxt_http_request.c
parent14e56fe8c869af490f76b7e88ac5d02a7ab4dd89 (diff)
downloadunit-d4e3951c4de0d17db943ea4a6ee1c9f570979358.tar.gz
unit-d4e3951c4de0d17db943ea4a6ee1c9f570979358.tar.bz2
Using request task.
Diffstat (limited to 'src/nxt_http_request.c')
-rw-r--r--src/nxt_http_request.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_http_request.c b/src/nxt_http_request.c
index 1f7a1796..394411a9 100644
--- a/src/nxt_http_request.c
+++ b/src/nxt_http_request.c
@@ -570,9 +570,9 @@ nxt_http_request_close_handler(nxt_task_t *task, void *obj, void *data)
if (nxt_fast_path(proto.any != NULL)) {
protocol = r->protocol;
- nxt_mp_release(r->mem_pool);
-
nxt_http_proto[protocol].close(task, proto, conf);
+
+ nxt_mp_release(r->mem_pool);
}
}