comparison src/http/v2/ngx_http_v2.h @ 7100:12cadc4669a7

HTTP/2: signal 0-byte HPACK's dynamic table size. This change lets NGINX talk to clients with SETTINGS_HEADER_TABLE_SIZE smaller than the default 4KB. Previously, NGINX would ACK the SETTINGS frame with a small dynamic table size, but it would never send dynamic table size update, leading to a connection-level COMPRESSION_ERROR. Also, it allows clients to release 4KB of memory per connection, since NGINX doesn't use HPACK's dynamic table when encoding headers, however clients had to maintain it, since NGINX never signaled that it doesn't use it. Signed-off-by: Piotr Sikora <piotrsikora@google.com>
author Piotr Sikora <piotrsikora@google.com>
date Wed, 30 Aug 2017 14:52:11 -0700
parents 7206c3630310
children 61d276dcd493
comparison
equal deleted inserted replaced
7099:019b91bd21cc 7100:12cadc4669a7
142 142
143 ngx_uint_t last_sid; 143 ngx_uint_t last_sid;
144 144
145 unsigned closed_nodes:8; 145 unsigned closed_nodes:8;
146 unsigned settings_ack:1; 146 unsigned settings_ack:1;
147 unsigned table_update:1;
147 unsigned blocked:1; 148 unsigned blocked:1;
148 unsigned goaway:1; 149 unsigned goaway:1;
149 }; 150 };
150 151
151 152