comparison src/http/modules/ngx_http_proxy_module.c @ 2716:d5896f6608e8

move zone name from ngx_shm_zone_t to ngx_shm_t to use Win32 shared memory
author Igor Sysoev <igor@sysoev.ru>
date Thu, 16 Apr 2009 19:25:09 +0000
parents f905a6ab0ca8
children 9ba1bee1b1e4
comparison
equal deleted inserted replaced
2715:a5845475a903 2716:d5896f6608e8
2102 2102
2103 shm_zone = conf->upstream.cache; 2103 shm_zone = conf->upstream.cache;
2104 2104
2105 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, 2105 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
2106 "\"proxy_cache\" zone \"%V\" is unknown", 2106 "\"proxy_cache\" zone \"%V\" is unknown",
2107 &shm_zone->name); 2107 &shm_zone->shm.name);
2108 2108
2109 return NGX_CONF_ERROR; 2109 return NGX_CONF_ERROR;
2110 } 2110 }
2111 2111
2112 ngx_conf_merge_uint_value(conf->upstream.cache_min_uses, 2112 ngx_conf_merge_uint_value(conf->upstream.cache_min_uses,