Searched refs:uscf (Results 1 - 13 of 13) sorted by relevance

/tldk/app/nginx/src/http/modules/
H A Dngx_http_upstream_zone_module.c18 ngx_slab_pool_t *shpool, ngx_http_upstream_srv_conf_t *uscf);
70 ngx_http_upstream_srv_conf_t *uscf; local
73 uscf = ngx_http_conf_get_module_srv_conf(cf, ngx_http_upstream_module);
103 uscf->shm_zone = ngx_shared_memory_add(cf, &value[1], size,
105 if (uscf->shm_zone == NULL) {
109 uscf->shm_zone->init = ngx_http_upstream_init_zone;
110 uscf->shm_zone->data = umcf;
112 uscf->shm_zone->noreuse = 1;
125 ngx_http_upstream_srv_conf_t *uscf, **uscfp; local
136 uscf
185 ngx_http_upstream_zone_copy_peers(ngx_slab_pool_t *shpool, ngx_http_upstream_srv_conf_t *uscf) argument
[all...]
H A Dngx_http_upstream_ip_hash_module.c253 ngx_http_upstream_srv_conf_t *uscf; local
255 uscf = ngx_http_conf_get_module_srv_conf(cf, ngx_http_upstream_module);
257 if (uscf->peer.init_upstream) {
262 uscf->peer.init_upstream = ngx_http_upstream_init_ip_hash;
264 uscf->flags = NGX_HTTP_UPSTREAM_CREATE
H A Dngx_http_upstream_least_conn_module.c294 ngx_http_upstream_srv_conf_t *uscf; local
296 uscf = ngx_http_conf_get_module_srv_conf(cf, ngx_http_upstream_module);
298 if (uscf->peer.init_upstream) {
303 uscf->peer.init_upstream = ngx_http_upstream_init_least_conn;
305 uscf->flags = NGX_HTTP_UPSTREAM_CREATE
H A Dngx_http_upstream_keepalive_module.c495 ngx_http_upstream_srv_conf_t *uscf; local
520 uscf = ngx_http_conf_get_module_srv_conf(cf, ngx_http_upstream_module);
522 kcf->original_init_upstream = uscf->peer.init_upstream
523 ? uscf->peer.init_upstream
526 uscf->peer.init_upstream = ngx_http_upstream_init_keepalive;
H A Dngx_http_upstream_hash_module.c634 ngx_http_upstream_srv_conf_t *uscf; local
649 uscf = ngx_http_conf_get_module_srv_conf(cf, ngx_http_upstream_module);
651 if (uscf->peer.init_upstream) {
656 uscf->flags = NGX_HTTP_UPSTREAM_CREATE
664 uscf->peer.init_upstream = ngx_http_upstream_init_hash;
667 uscf->peer.init_upstream = ngx_http_upstream_init_chash;
/tldk/app/nginx/src/stream/
H A Dngx_stream_upstream_zone_module.c18 ngx_slab_pool_t *shpool, ngx_stream_upstream_srv_conf_t *uscf);
67 ngx_stream_upstream_srv_conf_t *uscf; local
70 uscf = ngx_stream_conf_get_module_srv_conf(cf, ngx_stream_upstream_module);
100 uscf->shm_zone = ngx_shared_memory_add(cf, &value[1], size,
102 if (uscf->shm_zone == NULL) {
106 uscf->shm_zone->init = ngx_stream_upstream_init_zone;
107 uscf->shm_zone->data = umcf;
109 uscf->shm_zone->noreuse = 1;
122 ngx_stream_upstream_srv_conf_t *uscf, **uscfp; local
133 uscf
182 ngx_stream_upstream_zone_copy_peers(ngx_slab_pool_t *shpool, ngx_stream_upstream_srv_conf_t *uscf) argument
[all...]
H A Dngx_stream_upstream.c314 ngx_stream_upstream_srv_conf_t *uscf; local
323 uscf = ngx_stream_upstream_add(cf, &u, NGX_STREAM_UPSTREAM_CREATE
330 if (uscf == NULL) {
351 ctx->srv_conf[ngx_stream_upstream_module.ctx_index] = uscf;
353 uscf->srv_conf = ctx->srv_conf;
372 uscf->servers = ngx_array_create(cf->pool, 4,
374 if (uscf->servers == NULL) {
393 if (uscf->servers->nelts == 0) {
406 ngx_stream_upstream_srv_conf_t *uscf = conf; local
415 us = ngx_array_push(uscf
570 ngx_stream_upstream_srv_conf_t *uscf, **uscfp; local
[all...]
H A Dngx_stream_upstream_least_conn_module.c290 ngx_stream_upstream_srv_conf_t *uscf; local
292 uscf = ngx_stream_conf_get_module_srv_conf(cf, ngx_stream_upstream_module);
294 if (uscf->peer.init_upstream) {
299 uscf->peer.init_upstream = ngx_stream_upstream_init_least_conn;
301 uscf->flags = NGX_STREAM_UPSTREAM_CREATE
H A Dngx_stream_upstream.h147 #define ngx_stream_conf_upstream_srv_conf(uscf, module) \
148 uscf->srv_conf[module.ctx_index]
H A Dngx_stream_upstream_hash_module.c633 ngx_stream_upstream_srv_conf_t *uscf; local
648 uscf = ngx_stream_conf_get_module_srv_conf(cf, ngx_stream_upstream_module);
650 if (uscf->peer.init_upstream) {
655 uscf->flags = NGX_STREAM_UPSTREAM_CREATE
663 uscf->peer.init_upstream = ngx_stream_upstream_init_hash;
666 uscf->peer.init_upstream = ngx_stream_upstream_init_chash;
H A Dngx_stream_proxy_module.c359 ngx_stream_upstream_srv_conf_t *uscf, **uscfp; local
426 uscf = pscf->upstream;
442 uscf = uscfp[i];
444 if (uscf->host.len == host->len
445 && ((uscf->port == 0 && u->resolved->no_port)
446 || uscf->port == u->resolved->port)
447 && ngx_strncasecmp(uscf->host.data, host->data, host->len) == 0)
518 if (uscf == NULL) {
524 u->upstream = uscf;
527 u->ssl_name = uscf
[all...]
/tldk/app/nginx/src/http/
H A Dngx_http_upstream.c545 ngx_http_upstream_srv_conf_t *uscf, **uscfp; local
666 uscf = u->conf->upstream;
682 uscf = uscfp[i];
684 if (uscf->host.len == host->len
685 && ((uscf->port == 0 && u->resolved->no_port)
686 || uscf->port == u->resolved->port)
687 && ngx_strncasecmp(uscf->host.data, host->data, host->len) == 0)
762 if (uscf == NULL) {
770 u->upstream = uscf;
773 u->ssl_name = uscf
5622 ngx_http_upstream_srv_conf_t *uscf; local
5730 ngx_http_upstream_srv_conf_t *uscf = conf; local
5889 ngx_http_upstream_srv_conf_t *uscf, **uscfp; local
[all...]
H A Dngx_http_upstream.h421 #define ngx_http_conf_upstream_srv_conf(uscf, module) \
422 uscf->srv_conf[module.ctx_index]

Completed in 11 milliseconds