Fixed memory leak on response body sending failure.

This commit is contained in:
Igor Sysoev
2019-02-18 17:28:55 +03:00
parent 2a6b54c230
commit bb11e9036f
3 changed files with 4 additions and 3 deletions

View File

@@ -3500,7 +3500,7 @@ static const nxt_http_request_state_t nxt_http_request_send_state
nxt_aligned(64) =
{
.ready_handler = nxt_http_request_send_body,
.error_handler = nxt_http_request_close_handler,
.error_handler = nxt_http_request_error_handler,
};