Using request task.

This commit is contained in:
Igor Sysoev
2019-11-14 16:39:48 +03:00
parent 14e56fe8c8
commit d4e3951c4d
3 changed files with 13 additions and 2 deletions

View File

@@ -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);
}
}