Mercurial > hg > nginx
diff src/http/modules/perl/ngx_http_perl_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 | 18268abd340c |
children | 715d24327080 |
line wrap: on
line diff
--- a/src/http/modules/perl/ngx_http_perl_module.c +++ b/src/http/modules/perl/ngx_http_perl_module.c @@ -190,6 +190,10 @@ ngx_http_perl_handler(ngx_http_request_t r->request_body_in_persistent_file = 1; r->request_body_delete_incomplete_file = 1; + if (r->request_body_in_file_only) { + r->request_body_file_log_level = 0; + } + rc = ngx_http_read_client_request_body(r, ngx_http_perl_handle_request); if (rc >= NGX_HTTP_SPECIAL_RESPONSE) { @@ -1011,7 +1015,7 @@ ngx_http_perl_set(ngx_conf_t *cf, ngx_co } - v->handler = ngx_http_perl_variable; + v->get_handler = ngx_http_perl_variable; v->data = (uintptr_t) pv; return NGX_CONF_OK;