comparison 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
comparison
equal deleted inserted replaced
185:a9c5dc369ffe 186:54aabf2b0bc6
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