diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2017-03-24 16:26:12 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2017-03-24 16:26:12 +0300 |
commit | 77bac4d57cb60a1a0ff09eef3ee3936d007906d9 (patch) | |
tree | 39d4e1e7a63a3d7b4f1b830c35fe1ad24f2ee195 /src/http/ngx_http_request.c | |
parent | e81ad21fea390cf6f1f2e03223d8df569879dd78 (diff) | |
download | nginx-77bac4d57cb60a1a0ff09eef3ee3936d007906d9.tar.gz nginx-77bac4d57cb60a1a0ff09eef3ee3936d007906d9.zip |
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.c | 1 |
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; |