Libunit: closing active requests on quit.

This commit is contained in:
Max Romanov
2020-11-18 22:33:53 +03:00
parent 300347a5cf
commit 6c3c83561a
5 changed files with 96 additions and 11 deletions

View File

@@ -307,6 +307,8 @@ Unit::close_handler(nxt_unit_request_info_t *req)
} catch (exception &e) {
nxt_unit_req_warn(req, "close_handler: %s", e.str);
nxt_unit_request_done(req, NXT_UNIT_ERROR);
return;
}