Mercurial > hg > nginx-quic
comparison src/http/ngx_http_request.c @ 6942:1c43ac026c1d
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 24 Mar 2017 16:26:12 +0300 |
parents | e662cbf1b932 |
children | 903fb1ddc07f |
comparison
equal
deleted
inserted
replaced
6941:6e20a6479325 | 6942:1c43ac026c1d |
---|---|
2902 ngx_http_close_request(r, 0); | 2902 ngx_http_close_request(r, 0); |
2903 return; | 2903 return; |
2904 } | 2904 } |
2905 | 2905 |
2906 cl->buf = b; | 2906 cl->buf = b; |
2907 cl->next = NULL; | |
2907 | 2908 |
2908 hc->busy = cl; | 2909 hc->busy = cl; |
2909 hc->nbusy = 1; | 2910 hc->nbusy = 1; |
2910 } | 2911 } |
2911 } | 2912 } |