Mercurial > hg > nginx
comparison 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 |
comparison
equal
deleted
inserted
replaced
636:21003753acbf | 637:e60fe4cf1d4e |
---|---|
188 | 188 |
189 r->request_body_in_single_buf = 1; | 189 r->request_body_in_single_buf = 1; |
190 r->request_body_in_persistent_file = 1; | 190 r->request_body_in_persistent_file = 1; |
191 r->request_body_delete_incomplete_file = 1; | 191 r->request_body_delete_incomplete_file = 1; |
192 | 192 |
193 if (r->request_body_in_file_only) { | |
194 r->request_body_file_log_level = 0; | |
195 } | |
196 | |
193 rc = ngx_http_read_client_request_body(r, ngx_http_perl_handle_request); | 197 rc = ngx_http_read_client_request_body(r, ngx_http_perl_handle_request); |
194 | 198 |
195 if (rc >= NGX_HTTP_SPECIAL_RESPONSE) { | 199 if (rc >= NGX_HTTP_SPECIAL_RESPONSE) { |
196 return rc; | 200 return rc; |
197 } | 201 } |
1009 pv->sub = newSVpvn((char *) value[2].data, value[2].len); | 1013 pv->sub = newSVpvn((char *) value[2].data, value[2].len); |
1010 } | 1014 } |
1011 | 1015 |
1012 } | 1016 } |
1013 | 1017 |
1014 v->handler = ngx_http_perl_variable; | 1018 v->get_handler = ngx_http_perl_variable; |
1015 v->data = (uintptr_t) pv; | 1019 v->data = (uintptr_t) pv; |
1016 | 1020 |
1017 return NGX_CONF_OK; | 1021 return NGX_CONF_OK; |
1018 } | 1022 } |
1019 | 1023 |