Mercurial > hg > nginx
comparison src/http/modules/ngx_http_scgi_module.c @ 3692:045ea40cbfe8
use ngx_http_test_predicates(), ngx_http_set_predicate_slot()
delete ngx_http_cache(), ngx_http_no_cache_set_slot()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 14 Jul 2010 11:15:45 +0000 |
parents | 2728c4e4a9ae |
children | e3bcc2f4c418 |
comparison
equal
deleted
inserted
replaced
3691:55f95e91daed | 3692:045ea40cbfe8 |
---|---|
196 0, | 196 0, |
197 &ngx_http_scgi_module }, | 197 &ngx_http_scgi_module }, |
198 | 198 |
199 { ngx_string("scgi_no_cache"), | 199 { ngx_string("scgi_no_cache"), |
200 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_1MORE, | 200 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_1MORE, |
201 ngx_http_no_cache_set_slot, | 201 ngx_http_set_predicate_slot, |
202 NGX_HTTP_LOC_CONF_OFFSET, | 202 NGX_HTTP_LOC_CONF_OFFSET, |
203 offsetof(ngx_http_scgi_loc_conf_t, upstream.no_cache), | 203 offsetof(ngx_http_scgi_loc_conf_t, upstream.no_cache), |
204 NULL }, | 204 NULL }, |
205 | 205 |
206 { ngx_string("scgi_cache_valid"), | 206 { ngx_string("scgi_cache_valid"), |