aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-12-12 15:42:39 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-12-12 15:42:39 +0000
commitacb2f5d8c826ec1c4f7a12f7e88fffc0b9709f0b (patch)
tree3c593a0c2756d9370d50d6c33c3e9960ba56c073 /src/http/ngx_http_request.c
parent6d4b5a1f86f847dac12dca290e76aadd1b8343bc (diff)
downloadnginx-acb2f5d8c826ec1c4f7a12f7e88fffc0b9709f0b.tar.gz
nginx-acb2f5d8c826ec1c4f7a12f7e88fffc0b9709f0b.zip
large_client_header_buffers did not free()ed before keep-alive
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 51ec46ce7..c04c6f9d6 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -2093,7 +2093,7 @@ ngx_http_set_keepalive(ngx_http_request_t *r)
if (hc->free) {
for (i = 0; i < hc->nfree; i++) {
- ngx_pfree(c->pool, hc->free[i]);
+ ngx_pfree(c->pool, hc->free[i]->start);
hc->free[i] = NULL;
}
@@ -2105,7 +2105,7 @@ ngx_http_set_keepalive(ngx_http_request_t *r)
if (hc->busy) {
for (i = 0; i < hc->nbusy; i++) {
- ngx_pfree(c->pool, hc->busy[i]);
+ ngx_pfree(c->pool, hc->busy[i]->start);
hc->busy[i] = NULL;
}