[nginx] Fixed CPU hog while freeing hc->busy after e662cbf1b932 (1.11.11).
Maxim Dounin
mdounin at mdounin.ru
Fri Mar 24 14:57:23 UTC 2017
details: http://hg.nginx.org/nginx/rev/1c43ac026c1d
branches:
changeset: 6942:1c43ac026c1d
user: Maxim Dounin <mdounin at mdounin.ru>
date: Fri Mar 24 16:26:12 2017 +0300
description:
Fixed CPU hog while freeing hc->busy after e662cbf1b932 (1.11.11).
Reported by Richard Stanway,
http://mailman.nginx.org/pipermail/nginx/2017-March/053296.html.
diffstat:
src/http/ngx_http_request.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -2904,6 +2904,7 @@ ngx_http_set_keepalive(ngx_http_request_
}
cl->buf = b;
+ cl->next = NULL;
hc->busy = cl;
hc->nbusy = 1;
More information about the nginx-devel
mailing list