comparison src/http/modules/ngx_http_proxy_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
339 0, 339 0,
340 &ngx_http_proxy_module }, 340 &ngx_http_proxy_module },
341 341
342 { ngx_string("proxy_no_cache"), 342 { ngx_string("proxy_no_cache"),
343 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_1MORE, 343 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_1MORE,
344 ngx_http_no_cache_set_slot, 344 ngx_http_set_predicate_slot,
345 NGX_HTTP_LOC_CONF_OFFSET, 345 NGX_HTTP_LOC_CONF_OFFSET,
346 offsetof(ngx_http_proxy_loc_conf_t, upstream.no_cache), 346 offsetof(ngx_http_proxy_loc_conf_t, upstream.no_cache),
347 NULL }, 347 NULL },
348 348
349 { ngx_string("proxy_cache_valid"), 349 { ngx_string("proxy_cache_valid"),