comparison src/http/modules/ngx_http_fastcgi_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 b0a0686a85bb
comparison
equal deleted inserted replaced
3691:55f95e91daed 3692:045ea40cbfe8
330 0, 330 0,
331 &ngx_http_fastcgi_module }, 331 &ngx_http_fastcgi_module },
332 332
333 { ngx_string("fastcgi_no_cache"), 333 { ngx_string("fastcgi_no_cache"),
334 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_1MORE, 334 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_1MORE,
335 ngx_http_no_cache_set_slot, 335 ngx_http_set_predicate_slot,
336 NGX_HTTP_LOC_CONF_OFFSET, 336 NGX_HTTP_LOC_CONF_OFFSET,
337 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.no_cache), 337 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.no_cache),
338 NULL }, 338 NULL },
339 339
340 { ngx_string("fastcgi_cache_valid"), 340 { ngx_string("fastcgi_cache_valid"),