large_client_header_buffers did not free()ed before keep-alive

This commit is contained in:
Igor Sysoev 2007-12-12 15:42:39 +00:00
parent a0767cf8b5
commit 8aa97dc74d

View file

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