mirror of
https://github.com/nginx/nginx.git
synced 2025-07-22 20:38:26 +08:00
r1709 merge:
large_client_header_buffers did not free()ed before keep-alive
This commit is contained in:
parent
89aa4bd863
commit
07dac6cdeb
@ -2085,7 +2085,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;
|
||||
}
|
||||
|
||||
@ -2097,7 +2097,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