Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2017-03-24 16:26:12 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2017-03-24 16:26:12 +0300
commit77bac4d57cb60a1a0ff09eef3ee3936d007906d9 (patch)
tree39d4e1e7a63a3d7b4f1b830c35fe1ad24f2ee195 /src/http/ngx_http_request.c
parente81ad21fea390cf6f1f2e03223d8df569879dd78 (diff)
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 (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 1788bf37e..dd5491021 100644
--- 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_t *r)
}
cl->buf = b;
+ cl->next = NULL;
hc->busy = cl;
hc->nbusy = 1;