comparison src/http/modules/ngx_http_uwsgi_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
223 0, 223 0,
224 &ngx_http_uwsgi_module }, 224 &ngx_http_uwsgi_module },
225 225
226 { ngx_string("uwsgi_no_cache"), 226 { ngx_string("uwsgi_no_cache"),
227 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_1MORE, 227 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_1MORE,
228 ngx_http_no_cache_set_slot, 228 ngx_http_set_predicate_slot,
229 NGX_HTTP_LOC_CONF_OFFSET, 229 NGX_HTTP_LOC_CONF_OFFSET,
230 offsetof(ngx_http_uwsgi_loc_conf_t, upstream.no_cache), 230 offsetof(ngx_http_uwsgi_loc_conf_t, upstream.no_cache),
231 NULL }, 231 NULL },
232 232
233 { ngx_string("uwsgi_cache_valid"), 233 { ngx_string("uwsgi_cache_valid"),