comparison src/http/v2/ngx_http_v2.h @ 7549:45415228990b

HTTP/2: limited number of PRIORITY frames. Fixed excessive CPU usage caused by a peer that continuously shuffles priority of streams. Fix is to limit the number of PRIORITY frames.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 13 Aug 2019 15:43:40 +0300
parents 99257b06b0bd
children 80359395b345
comparison
equal deleted inserted replaced
7548:99257b06b0bd 7549:45415228990b
120 ngx_http_connection_t *http_connection; 120 ngx_http_connection_t *http_connection;
121 121
122 ngx_uint_t processing; 122 ngx_uint_t processing;
123 ngx_uint_t frames; 123 ngx_uint_t frames;
124 ngx_uint_t idle; 124 ngx_uint_t idle;
125 ngx_uint_t priority_limit;
125 126
126 ngx_uint_t pushing; 127 ngx_uint_t pushing;
127 ngx_uint_t concurrent_pushes; 128 ngx_uint_t concurrent_pushes;
128 129
129 size_t send_window; 130 size_t send_window;