mirror of
https://github.com/nginx/nginx.git
synced 2025-06-11 12:22:41 +08:00
large_client_header_buffers did not free()ed before keep-alive
This commit is contained in:
parent
6d4b5a1f86
commit
acb2f5d8c8
@ -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 New Issue
Block a user