Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_memcached_module.c @ 896:f247db60fc85
fix fastcgi and memcached upstreams
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 11 Dec 2006 08:59:30 +0000 |
parents | 4d68c486fcb0 |
children | a0310ac2814f |
comparison
equal
deleted
inserted
replaced
895:49d03c183ad2 | 896:f247db60fc85 |
---|---|
581 value = cf->args->elts; | 581 value = cf->args->elts; |
582 | 582 |
583 ngx_memzero(&u, sizeof(ngx_url_t)); | 583 ngx_memzero(&u, sizeof(ngx_url_t)); |
584 | 584 |
585 u.url = value[1]; | 585 u.url = value[1]; |
586 u.upstream = 1; | |
586 u.no_resolve = 1; | 587 u.no_resolve = 1; |
587 /* u.uri_part = 1; may be used as namespace */ | 588 /* u.uri_part = 1; may be used as namespace */ |
588 | 589 |
589 lcf->upstream.upstream = ngx_http_upstream_add(cf, &u, 0); | 590 lcf->upstream.upstream = ngx_http_upstream_add(cf, &u, 0); |
590 if (lcf->upstream.upstream == NULL) { | 591 if (lcf->upstream.upstream == NULL) { |