Mercurial > hg > nginx-vendor-0-7
diff src/http/modules/perl/ngx_http_perl_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 | 71ff1e2b484a |
children | af37b7cb6698 |
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;