comparison src/http/modules/ngx_http_image_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 499474178a11
children 207ae3ff0444
comparison
equal deleted inserted replaced
504:6d9fb4461113 505:f39b9e29530d
945 { 945 {
946 ngx_http_image_filter_conf_t *conf; 946 ngx_http_image_filter_conf_t *conf;
947 947
948 conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_image_filter_conf_t)); 948 conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_image_filter_conf_t));
949 if (conf == NULL) { 949 if (conf == NULL) {
950 return NGX_CONF_ERROR; 950 return NULL;
951 } 951 }
952 952
953 conf->filter = NGX_CONF_UNSET_UINT; 953 conf->filter = NGX_CONF_UNSET_UINT;
954 conf->jpeg_quality = NGX_CONF_UNSET; 954 conf->jpeg_quality = NGX_CONF_UNSET;
955 conf->buffer_size = NGX_CONF_UNSET_SIZE; 955 conf->buffer_size = NGX_CONF_UNSET_SIZE;