Home
last modified time | relevance | path

Searched refs:max_conns (Results 1 – 17 of 17) sorted by relevance

/f-stack/app/nginx-1.16.1/src/stream/
H A Dngx_stream_upstream_least_conn_module.c153 if (peer->max_conns && peer->conns >= peer->max_conns) { in ngx_stream_upstream_get_least_conn_peer()
212 if (peer->max_conns && peer->conns >= peer->max_conns) { in ngx_stream_upstream_get_least_conn_peer()
H A Dngx_stream_upstream_round_robin.c101 peer[n].max_conns = server[i].max_conns; in ngx_stream_upstream_init_round_robin()
165 peer[n].max_conns = server[i].max_conns; in ngx_stream_upstream_init_round_robin()
234 peer[i].max_conns = 0; in ngx_stream_upstream_init_round_robin()
354 peer[0].max_conns = 0; in ngx_stream_upstream_create_round_robin_peer()
388 peer[i].max_conns = 0; in ngx_stream_upstream_create_round_robin_peer()
451 if (peer->max_conns && peer->conns >= peer->max_conns) { in ngx_stream_upstream_get_round_robin_peer()
556 if (peer->max_conns && peer->conns >= peer->max_conns) { in ngx_stream_upstream_get_peer()
H A Dngx_stream_upstream.c409 ngx_int_t weight, max_conns, max_fails; in ngx_stream_upstream_server() local
423 max_conns = 0; in ngx_stream_upstream_server()
450 max_conns = ngx_atoi(&value[i].data[10], value[i].len - 10); in ngx_stream_upstream_server()
452 if (max_conns == NGX_ERROR) { in ngx_stream_upstream_server()
540 us->max_conns = max_conns; in ngx_stream_upstream_server()
H A Dngx_stream_upstream_random_module.c261 if (peer->max_conns && peer->conns >= peer->max_conns) { in ngx_stream_upstream_get_random_peer()
361 if (peer->max_conns && peer->conns >= peer->max_conns) { in ngx_stream_upstream_get_random2_peer()
H A Dngx_stream_upstream_hash_module.c248 if (peer->max_conns && peer->conns >= peer->max_conns) { in ngx_stream_upstream_get_hash_peer()
560 if (peer->max_conns && peer->conns >= peer->max_conns) { in ngx_stream_upstream_get_chash_peer()
H A Dngx_stream_upstream_round_robin.h30 ngx_uint_t max_conns; member
H A Dngx_stream_upstream.h57 ngx_uint_t max_conns; member
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_upstream_least_conn_module.c157 if (peer->max_conns && peer->conns >= peer->max_conns) { in ngx_http_upstream_get_least_conn_peer()
216 if (peer->max_conns && peer->conns >= peer->max_conns) { in ngx_http_upstream_get_least_conn_peer()
H A Dngx_http_upstream_random_module.c261 if (peer->max_conns && peer->conns >= peer->max_conns) { in ngx_http_upstream_get_random_peer()
361 if (peer->max_conns && peer->conns >= peer->max_conns) { in ngx_http_upstream_get_random2_peer()
H A Dngx_http_upstream_ip_hash_module.c219 if (peer->max_conns && peer->conns >= peer->max_conns) { in ngx_http_upstream_get_ip_hash_peer()
H A Dngx_http_upstream_hash_module.c249 if (peer->max_conns && peer->conns >= peer->max_conns) { in ngx_http_upstream_get_hash_peer()
559 if (peer->max_conns && peer->conns >= peer->max_conns) { in ngx_http_upstream_get_chash_peer()
/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http_upstream_round_robin.c95 peer[n].max_conns = server[i].max_conns; in ngx_http_upstream_init_round_robin()
159 peer[n].max_conns = server[i].max_conns; in ngx_http_upstream_init_round_robin()
228 peer[i].max_conns = 0; in ngx_http_upstream_init_round_robin()
344 peer[0].max_conns = 0; in ngx_http_upstream_create_round_robin_peer()
378 peer[i].max_conns = 0; in ngx_http_upstream_create_round_robin_peer()
442 if (peer->max_conns && peer->conns >= peer->max_conns) { in ngx_http_upstream_get_round_robin_peer()
547 if (peer->max_conns && peer->conns >= peer->max_conns) { in ngx_http_upstream_get_peer()
H A Dngx_http_upstream_round_robin.h30 ngx_uint_t max_conns; member
H A Dngx_http_upstream.h99 ngx_uint_t max_conns; member
H A Dngx_http_upstream.c5819 ngx_int_t weight, max_conns, max_fails; in ngx_http_upstream_server() local
5833 max_conns = 0; in ngx_http_upstream_server()
5860 max_conns = ngx_atoi(&value[i].data[10], value[i].len - 10); in ngx_http_upstream_server()
5862 if (max_conns == NGX_ERROR) { in ngx_http_upstream_server()
5945 us->max_conns = max_conns; in ngx_http_upstream_server()
/f-stack/app/nginx-1.16.1/
H A DCHANGES.ru769 max_conns.
H A DCHANGES755 the "max_conns" parameter.