comparison src/http/modules/ngx_http_index_module.c @ 496:f39b9e29530d NGINX_0_8_0

nginx 0.8.0 *) Feature: the "keepalive_requests" directive. *) Feature: the "limit_rate_after" directive. Thanks to Ivan Debnar. *) Bugfix: XLST filter did not work in subrequests. *) Bugfix: in relative paths handling in nginx/Windows. *) Bugfix: in proxy_store, fastcgi_store, proxy_cache, and fastcgi_cache in nginx/Windows. *) Bugfix: in memory allocation error handling. Thanks to Maxim Dounin and Kirill A. Korinskiy.
author Igor Sysoev <http://sysoev.ru>
date Tue, 02 Jun 2009 00:00:00 +0400
parents 392c16f2d858
children 4c5d2c627a6c
comparison
equal deleted inserted replaced
495:6d9fb4461113 496:f39b9e29530d
364 { 364 {
365 ngx_http_index_loc_conf_t *conf; 365 ngx_http_index_loc_conf_t *conf;
366 366
367 conf = ngx_palloc(cf->pool, sizeof(ngx_http_index_loc_conf_t)); 367 conf = ngx_palloc(cf->pool, sizeof(ngx_http_index_loc_conf_t));
368 if (conf == NULL) { 368 if (conf == NULL) {
369 return NGX_CONF_ERROR; 369 return NULL;
370 } 370 }
371 371
372 conf->indices = NULL; 372 conf->indices = NULL;
373 conf->max_index_len = 0; 373 conf->max_index_len = 0;
374 374