Searched refs:h2mcf (Results 1 – 2 of 2) sorted by relevance
318 ngx_http_v2_main_conf_t *h2mcf; in ngx_http_v2_create_main_conf() local320 h2mcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_v2_main_conf_t)); in ngx_http_v2_create_main_conf()321 if (h2mcf == NULL) { in ngx_http_v2_create_main_conf()325 h2mcf->recv_buffer_size = NGX_CONF_UNSET_SIZE; in ngx_http_v2_create_main_conf()327 return h2mcf; in ngx_http_v2_create_main_conf()334 ngx_http_v2_main_conf_t *h2mcf = conf; in ngx_http_v2_init_main_conf() local336 ngx_conf_init_size_value(h2mcf->recv_buffer_size, 256 * 1024); in ngx_http_v2_init_main_conf()
236 ngx_http_v2_main_conf_t *h2mcf; in ngx_http_v2_init() local246 h2mcf = ngx_http_get_module_main_conf(hc->conf_ctx, ngx_http_v2_module); in ngx_http_v2_init()248 if (h2mcf->recv_buffer == NULL) { in ngx_http_v2_init()249 h2mcf->recv_buffer = ngx_palloc(ngx_cycle->pool, in ngx_http_v2_init()250 h2mcf->recv_buffer_size); in ngx_http_v2_init()251 if (h2mcf->recv_buffer == NULL) { in ngx_http_v2_init()338 ngx_http_v2_main_conf_t *h2mcf; in ngx_http_v2_read_handler() local378 h2mcf = ngx_http_get_module_main_conf(h2c->http_connection->conf_ctx, in ngx_http_v2_read_handler()381 available = h2mcf->recv_buffer_size - 2 * NGX_HTTP_V2_STATE_BUFFER_SIZE; in ngx_http_v2_read_handler()384 p = h2mcf->recv_buffer; in ngx_http_v2_read_handler()