]> git.kaiwu.me - nginx.git/commit
HTTP/2: workaround for clients which fail on table size updates.
authorMaxim Dounin <mdounin@mdounin.ru>
Thu, 9 Aug 2018 17:12:17 +0000 (20:12 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Thu, 9 Aug 2018 17:12:17 +0000 (20:12 +0300)
commit0d224602e966c431674958dabcaa451c99539352
treea0ef6dccfe386dc04d11994aff2f9029b1171a89
parentdd8e1e178c1a47d51ce85604a169f9179c15c220
HTTP/2: workaround for clients which fail on table size updates.

There are clients which cannot handle HPACK's dynamic table size updates
as added in 12cadc4669a7 (1.13.6).  Notably, old versions of OkHttp library
are known to fail on it (ticket #1397).

This change makes it possible to work with such clients by only sending
dynamic table size updates in response to SETTINGS_HEADER_TABLE_SIZE.  As
a downside, clients which do not use SETTINGS_HEADER_TABLE_SIZE will
continue to maintain default 4k table.
src/http/v2/ngx_http_v2.c