Home
last modified time | relevance | path

Searched refs:hcf (Results 1 – 3 of 3) sorted by relevance

/f-stack/app/nginx-1.16.1/src/stream/
H A Dngx_stream_upstream_hash_module.c125 ngx_stream_upstream_hash_srv_conf_t *hcf; in ngx_stream_upstream_init_hash_peer() local
142 hcf = ngx_stream_conf_upstream_srv_conf(us, in ngx_stream_upstream_init_hash_peer()
152 hp->conf = hcf; in ngx_stream_upstream_init_hash_peer()
296 ngx_stream_upstream_hash_srv_conf_t *hcf; in ngx_stream_upstream_init_chash() local
404 hcf = ngx_stream_conf_upstream_srv_conf(us, in ngx_stream_upstream_init_chash()
406 hcf->points = points; in ngx_stream_upstream_init_chash()
469 ngx_stream_upstream_hash_srv_conf_t *hcf; in ngx_stream_upstream_init_chash_peer() local
507 ngx_stream_upstream_hash_srv_conf_t *hcf; in ngx_stream_upstream_get_chash_peer() local
522 hcf = hp->conf; in ngx_stream_upstream_get_chash_peer()
524 points = hcf->points; in ngx_stream_upstream_get_chash_peer()
[all …]
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_upstream_hash_module.c127 ngx_http_upstream_hash_srv_conf_t *hcf; in ngx_http_upstream_init_hash_peer() local
145 if (ngx_http_complex_value(r, &hcf->key, &hp->key) != NGX_OK) { in ngx_http_upstream_init_hash_peer()
152 hp->conf = hcf; in ngx_http_upstream_init_hash_peer()
296 ngx_http_upstream_hash_srv_conf_t *hcf; in ngx_http_upstream_init_chash() local
405 hcf->points = points; in ngx_http_upstream_init_chash()
468 ngx_http_upstream_hash_srv_conf_t *hcf; in ngx_http_upstream_init_chash_peer() local
505 ngx_http_upstream_hash_srv_conf_t *hcf; in ngx_http_upstream_get_chash_peer() local
521 hcf = hp->conf; in ngx_http_upstream_get_chash_peer()
523 points = hcf->points; in ngx_http_upstream_get_chash_peer()
641 ngx_http_upstream_hash_srv_conf_t *hcf = conf; in ngx_http_upstream_hash() local
[all …]
H A Dngx_http_headers_filter_module.c724 ngx_http_headers_conf_t *hcf = conf; in ngx_http_headers_expires() local
733 if (hcf->expires != NGX_HTTP_EXPIRES_UNSET) { in ngx_http_headers_expires()
741 hcf->expires = NGX_HTTP_EXPIRES_ACCESS; in ngx_http_headers_expires()
751 hcf->expires = NGX_HTTP_EXPIRES_MODIFIED; in ngx_http_headers_expires()
768 hcf->expires_value = ngx_palloc(cf->pool, in ngx_http_headers_expires()
770 if (hcf->expires_value == NULL) { in ngx_http_headers_expires()
774 *hcf->expires_value = cv; in ngx_http_headers_expires()
779 rc = ngx_http_parse_expires(&value[n], &hcf->expires, &hcf->expires_time, in ngx_http_headers_expires()
792 ngx_http_headers_conf_t *hcf = conf; in ngx_http_headers_add() local
803 headers = (ngx_array_t **) ((char *) hcf + cmd->offset); in ngx_http_headers_add()
[all …]