forked from Hakase/nginx-build
Latest update - 7335
This commit is contained in:
@@ -270,8 +270,6 @@ ngx_http_v2_init(ngx_event_t *rev)
|
|||||||
|
|
||||||
h2c->frame_size = NGX_HTTP_V2_DEFAULT_FRAME_SIZE;
|
h2c->frame_size = NGX_HTTP_V2_DEFAULT_FRAME_SIZE;
|
||||||
|
|
||||||
h2c->table_update = 1;
|
|
||||||
|
|
||||||
h2c->max_hpack_table_size = NGX_HTTP_V2_DEFAULT_HPACK_TABLE_SIZE;
|
h2c->max_hpack_table_size = NGX_HTTP_V2_DEFAULT_HPACK_TABLE_SIZE;
|
||||||
|
|
||||||
h2scf = ngx_http_get_module_srv_conf(hc->conf_ctx, ngx_http_v2_module);
|
h2scf = ngx_http_get_module_srv_conf(hc->conf_ctx, ngx_http_v2_module);
|
||||||
@@ -2079,6 +2077,8 @@ ngx_http_v2_state_settings_params(ngx_http_v2_connection_t *h2c, u_char *pos,
|
|||||||
|
|
||||||
case NGX_HTTP_V2_HEADER_TABLE_SIZE_SETTING:
|
case NGX_HTTP_V2_HEADER_TABLE_SIZE_SETTING:
|
||||||
|
|
||||||
|
h2c->table_update = 1;
|
||||||
|
|
||||||
if (value > NGX_HTTP_V2_MAX_HPACK_TABLE_SIZE) {
|
if (value > NGX_HTTP_V2_MAX_HPACK_TABLE_SIZE) {
|
||||||
h2c->max_hpack_table_size = NGX_HTTP_V2_MAX_HPACK_TABLE_SIZE;
|
h2c->max_hpack_table_size = NGX_HTTP_V2_MAX_HPACK_TABLE_SIZE;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user