diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2021-04-07 02:03:29 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2021-04-07 02:03:29 +0300 |
commit | 5599731c00bd152f765c7cea24a7d257bf13320c (patch) | |
tree | f9cc3c58822a14e804ce6e751b4917c31e2e58d2 /src/http/ngx_http_core_module.c | |
parent | ca9bf16f09ef2b0755bfe880c68dc71b9c46f879 (diff) | |
download | nginx-5599731c00bd152f765c7cea24a7d257bf13320c.tar.gz nginx-5599731c00bd152f765c7cea24a7d257bf13320c.zip |
HTTP/2: relaxed PRIORITY frames limit.
Firefox uses several idle streams for PRIORITY frames[1], and
"http2_max_concurrent_streams 1;" results in "client sent too many
PRIORITY frames" errors when a connection is established by Firefox.
Fix is to relax the PRIORITY frames limit to use at least 100 as
the initial value (which is the recommended by the HTTP/2 protocol
minimum limit on the number of concurrent streams, so it is not
unreasonable for clients to assume that similar number of idle streams
can be used for prioritization).
[1] https://hg.mozilla.org/mozilla-central/file/32a9e6e145d6e3071c3993a20bb603a2f388722b/netwerk/protocol/http/Http2Stream.cpp#l1270
Diffstat (limited to 'src/http/ngx_http_core_module.c')
0 files changed, 0 insertions, 0 deletions