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.
This commit is contained in:
Maxim Dounin 2017-03-24 16:26:12 +03:00
parent e81ad21fea
commit 77bac4d57c

View File

@ -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;