Mercurial > hg > nginx-ranges
comparison src/http/modules/ngx_http_ssi_filter_module.c @ 505: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 | a8424ffa495c |
children | 24b676623d4f |
comparison
equal
deleted
inserted
replaced
504:6d9fb4461113 | 505:f39b9e29530d |
---|---|
2687 { | 2687 { |
2688 ngx_http_ssi_main_conf_t *smcf; | 2688 ngx_http_ssi_main_conf_t *smcf; |
2689 | 2689 |
2690 smcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_ssi_main_conf_t)); | 2690 smcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_ssi_main_conf_t)); |
2691 if (smcf == NULL) { | 2691 if (smcf == NULL) { |
2692 return NGX_CONF_ERROR; | 2692 return NULL; |
2693 } | 2693 } |
2694 | 2694 |
2695 smcf->commands.pool = cf->pool; | 2695 smcf->commands.pool = cf->pool; |
2696 smcf->commands.temp_pool = cf->temp_pool; | 2696 smcf->commands.temp_pool = cf->temp_pool; |
2697 | 2697 |
2698 if (ngx_hash_keys_array_init(&smcf->commands, NGX_HASH_SMALL) != NGX_OK) { | 2698 if (ngx_hash_keys_array_init(&smcf->commands, NGX_HASH_SMALL) != NGX_OK) { |
2699 return NGX_CONF_ERROR; | 2699 return NULL; |
2700 } | 2700 } |
2701 | 2701 |
2702 return smcf; | 2702 return smcf; |
2703 } | 2703 } |
2704 | 2704 |
2734 { | 2734 { |
2735 ngx_http_ssi_loc_conf_t *slcf; | 2735 ngx_http_ssi_loc_conf_t *slcf; |
2736 | 2736 |
2737 slcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_ssi_loc_conf_t)); | 2737 slcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_ssi_loc_conf_t)); |
2738 if (slcf == NULL) { | 2738 if (slcf == NULL) { |
2739 return NGX_CONF_ERROR; | 2739 return NULL; |
2740 } | 2740 } |
2741 | 2741 |
2742 /* | 2742 /* |
2743 * set by ngx_pcalloc(): | 2743 * set by ngx_pcalloc(): |
2744 * | 2744 * |