comparison src/http/modules/ngx_http_gzip_filter_module.c @ 637:e60fe4cf1d4e release-0.3.40

nginx-0.3.40-RELEASE import *) 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 <igor@sysoev.ru>
date Wed, 19 Apr 2006 15:30:56 +0000
parents 9262f520ce21
children 6d5c1535bb9d
comparison
equal deleted inserted replaced
636:21003753acbf 637:e60fe4cf1d4e
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++) {