mirror of
https://github.com/nginx/nginx.git
synced 2026-09-01 02:58:40 +00:00
large_client_header_buffers did not free()ed before keep-alive
This commit is contained in:
parent
6d4b5a1f86
commit
acb2f5d8c8
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…
Add table
Add a link
Reference in a new issue