summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2019-02-18 17:28:55 +0300
committerIgor Sysoev <igor@sysoev.ru>2019-02-18 17:28:55 +0300
commitbb11e9036f8c5bf6f36899bb462709bdbf55bfa4 (patch)
tree6ed21cd366676750836fb853728cec03b8a6bfe8 /src/nxt_router.c
parent2a6b54c23020a24eaadfb4006235ca17dfa877f8 (diff)
downloadunit-bb11e9036f8c5bf6f36899bb462709bdbf55bfa4.tar.gz
unit-bb11e9036f8c5bf6f36899bb462709bdbf55bfa4.tar.bz2
Fixed memory leak on response body sending failure.
Diffstat (limited to '')
-rw-r--r--src/nxt_router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c
index 7ecbca81..e9233554 100644
--- a/src/nxt_router.c
+++ b/src/nxt_router.c
@@ -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,
};