large_client_header_buffers did not free()ed before keep-alive
This commit is contained in:
parent
a0767cf8b5
commit
8aa97dc74d
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue