Searched refs:backup (Results 1 - 8 of 8) sorted by relevance

/tldk/app/nginx/src/http/modules/
H A Dngx_http_upstream_zone_module.c189 ngx_http_upstream_rr_peers_t *peers, *backup; local
217 backup = ngx_slab_alloc(shpool, sizeof(ngx_http_upstream_rr_peers_t));
218 if (backup == NULL) {
222 ngx_memcpy(backup, peers->next, sizeof(ngx_http_upstream_rr_peers_t));
224 backup->shpool = shpool;
226 for (peerp = &backup->peer; *peerp; peerp = &peer->next) {
239 peers->next = backup;
/tldk/app/nginx/src/stream/
H A Dngx_stream_upstream_zone_module.c186 ngx_stream_upstream_rr_peers_t *peers, *backup; local
214 backup = ngx_slab_alloc(shpool, sizeof(ngx_stream_upstream_rr_peers_t));
215 if (backup == NULL) {
219 ngx_memcpy(backup, peers->next, sizeof(ngx_stream_upstream_rr_peers_t));
221 backup->shpool = shpool;
223 for (peerp = &backup->peer; *peerp; peerp = &peer->next) {
236 peers->next = backup;
H A Dngx_stream_upstream_round_robin.c44 ngx_stream_upstream_rr_peers_t *peers, *backup; local
55 if (server[i].backup) {
90 if (server[i].backup) {
115 /* backup servers */
121 if (!server[i].backup) {
133 backup = ngx_pcalloc(cf->pool, sizeof(ngx_stream_upstream_rr_peers_t));
134 if (backup == NULL) {
144 backup->single = 0;
145 backup->number = n;
146 backup
[all...]
H A Dngx_stream_upstream.h63 unsigned backup:1; member in struct:__anon467
H A Dngx_stream_upstream.c494 if (ngx_strcmp(value[i].data, "backup") == 0) {
500 us->backup = 1;
/tldk/app/nginx/src/http/
H A Dngx_http_upstream_round_robin.c38 ngx_http_upstream_rr_peers_t *peers, *backup; local
49 if (server[i].backup) {
84 if (server[i].backup) {
109 /* backup servers */
115 if (!server[i].backup) {
127 backup = ngx_pcalloc(cf->pool, sizeof(ngx_http_upstream_rr_peers_t));
128 if (backup == NULL) {
138 backup->single = 0;
139 backup->number = n;
140 backup
[all...]
H A Dngx_http_upstream.h103 unsigned backup:1; member in struct:__anon323
H A Dngx_http_upstream.c5818 if (ngx_strcmp(value[i].data, "backup") == 0) {
5824 us->backup = 1;

Completed in 12 milliseconds