comparison src/http/modules/ngx_http_gzip_filter_module.c @ 186:54aabf2b0bc6 NGINX_0_3_40

nginx 0.3.40 *) Feature: the ngx_http_dav_module supports the MKCOL method. *) Feature: the "create_full_put_path" directive. *) Feature: the "$limit_rate" variable.
author Igor Sysoev <http://sysoev.ru>
date Wed, 19 Apr 2006 00:00:00 +0400
parents 36af50a5582d
children 56688ed172c8
comparison
equal deleted inserted replaced
185:a9c5dc369ffe 186:54aabf2b0bc6
967 var = ngx_http_add_variable(cf, &ngx_http_gzip_ratio, NGX_HTTP_VAR_NOHASH); 967 var = ngx_http_add_variable(cf, &ngx_http_gzip_ratio, NGX_HTTP_VAR_NOHASH);
968 if (var == NULL) { 968 if (var == NULL) {
969 return NGX_ERROR; 969 return NGX_ERROR;
970 } 970 }
971 971
972 var->handler = ngx_http_gzip_ratio_variable; 972 var->get_handler = ngx_http_gzip_ratio_variable;
973 973
974 for (op = ngx_http_gzip_log_fmt_ops; op->name.len; op++) { /* void */ } 974 for (op = ngx_http_gzip_log_fmt_ops; op->name.len; op++) { /* void */ }
975 op->run = NULL; 975 op->run = NULL;
976 976
977 for (op = ngx_http_log_fmt_ops; op->run; op++) { 977 for (op = ngx_http_log_fmt_ops; op->run; op++) {