Home
last modified time | relevance | path

Searched refs:h2lcf (Results 1 – 2 of 2) sorted by relevance

/f-stack/app/nginx-1.16.1/src/http/v2/
H A Dngx_http_v2_module.c408 ngx_http_v2_loc_conf_t *h2lcf; in ngx_http_v2_create_loc_conf() local
411 if (h2lcf == NULL) { in ngx_http_v2_create_loc_conf()
424 h2lcf->push = NGX_CONF_UNSET; in ngx_http_v2_create_loc_conf()
426 return h2lcf; in ngx_http_v2_create_loc_conf()
463 if (h2lcf->pushes) { in ngx_http_v2_push()
467 if (h2lcf->push == 0) { in ngx_http_v2_push()
471 h2lcf->push = 0; in ngx_http_v2_push()
475 if (h2lcf->push == 0) { in ngx_http_v2_push()
479 h2lcf->push = 1; in ngx_http_v2_push()
481 if (h2lcf->pushes == NULL) { in ngx_http_v2_push()
[all …]
H A Dngx_http_v2_filter_module.c681 ngx_http_v2_loc_conf_t *h2lcf; in ngx_http_v2_push_resources() local
690 h2lcf = ngx_http_get_module_loc_conf(r, ngx_http_v2_module); in ngx_http_v2_push_resources()
692 if (h2lcf->pushes) { in ngx_http_v2_push_resources()
693 pushes = h2lcf->pushes->elts; in ngx_http_v2_push_resources()
695 for (i = 0; i < h2lcf->pushes->nelts; i++) { in ngx_http_v2_push_resources()
723 if (!h2lcf->push_preload) { in ngx_http_v2_push_resources()
1424 ngx_http_v2_loc_conf_t *h2lcf; in ngx_http_v2_send_chain() local
1494 h2lcf = ngx_http_get_module_loc_conf(r, ngx_http_v2_module); in ngx_http_v2_send_chain()
1496 frame_size = (h2lcf->chunk_size < h2c->frame_size) in ngx_http_v2_send_chain()
1497 ? h2lcf->chunk_size : h2c->frame_size; in ngx_http_v2_send_chain()