Mercurial > hg > nginx
changeset 6374:f598de1bfcd4
HTTP/2: fixed excessive memory allocation for pool cleanup.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Tue, 02 Feb 2016 16:33:55 +0300 |
parents | d2dc8bc0394a |
children | e30c72b0dfda |
files | src/http/v2/ngx_http_v2.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/v2/ngx_http_v2.c Tue Feb 02 16:33:55 2016 +0300 +++ b/src/http/v2/ngx_http_v2.c Tue Feb 02 16:33:55 2016 +0300 @@ -251,7 +251,7 @@ return; } - cln = ngx_pool_cleanup_add(c->pool, sizeof(ngx_pool_cleanup_file_t)); + cln = ngx_pool_cleanup_add(c->pool, 0); if (cln == NULL) { ngx_http_close_connection(c); return;