Home
last modified time | relevance | path

Searched refs:up (Results 1 – 14 of 14) sorted by path

/unit/
H A DCONTRIBUTING.md17 [Howto](https://unit.nginx.org/howto/) guides to get NGINX Unit up and running.
H A DREADME.md79 To run it on Unit with the `unit-php` module installed, first set up an
/unit/pkg/docker/
H A DDockerfile.go1.1811 && hg up 1.27.0 \
H A DDockerfile.jsc1111 && hg up 1.27.0 \
H A DDockerfile.minimal11 && hg up 1.27.0 \
H A DDockerfile.node1611 && hg up 1.27.0 \
H A DDockerfile.perl5.3411 && hg up 1.27.0 \
H A DDockerfile.php8.111 && hg up 1.27.0 \
H A DDockerfile.python3.1011 && hg up 1.27.0 \
H A DDockerfile.ruby3.111 && hg up 1.27.0 \
H A Dtemplate.Dockerfile11 && hg up @@VERSION@@ \
/unit/src/
H A Dnxt_http_proxy.c58 nxt_upstream_t *up; in nxt_http_proxy_init() local
77 up = nxt_mp_alloc(mp, sizeof(nxt_upstream_t)); in nxt_http_proxy_init()
78 if (nxt_slow_path(up == NULL)) { in nxt_http_proxy_init()
82 up->name.length = sa->length; in nxt_http_proxy_init()
83 up->name.start = nxt_sockaddr_start(sa); in nxt_http_proxy_init()
84 up->proto = &nxt_upstream_simple_proto; in nxt_http_proxy_init()
93 up->type.proxy = proxy; in nxt_http_proxy_init()
95 action->u.upstream = up; in nxt_http_proxy_init()
H A Dnxt_stream_module.c12 nxt_upstream_peer_t *up);
22 nxt_upstream_peer_t *up; in nxt_stream_connection_init() local
29 if (nxt_slow_path(up == NULL)) { in nxt_stream_connection_init()
33 up->data = c; in nxt_stream_connection_init()
38 up->addr = rt->upstream; in nxt_stream_connection_init()
41 nxt_str_set(&up->addr, "127.0.0.1:8080"); in nxt_stream_connection_init()
45 up->mem_pool = c->mem_pool; in nxt_stream_connection_init()
47 nxt_upstream_round_robin_peer(task, up); in nxt_stream_connection_init()
63 c = up->data; in nxt_stream_connection_peer()
65 up->sockaddr->type = SOCK_STREAM; in nxt_stream_connection_peer()
[all …]
H A Dnxt_upstream.c106 nxt_upstream_t *u, **up; in nxt_upstreams_joint_create() local
120 up = nxt_mp_zalloc(router_conf->mem_pool, n * sizeof(nxt_upstream_t *)); in nxt_upstreams_joint_create()
121 if (nxt_slow_path(up == NULL)) { in nxt_upstreams_joint_create()
128 up[i] = u[i].proto->joint_create(tmcf, &u[i]); in nxt_upstreams_joint_create()
129 if (nxt_slow_path(up[i] == NULL)) { in nxt_upstreams_joint_create()
134 *upstream_joint = up; in nxt_upstreams_joint_create()