Mercurial > hg > nginx-quic
comparison src/http/modules/perl/nginx.xs @ 1075:4d203f76b757
undo "client_body_in_file_only any"
and introduce "client_body_in_file_only clean"
introduce ngx_pool_delete_file() to not break a possible third-party
ngx_pool_cleanup_file() usage that may lead to an removal of the useful files
delete unnecessary ngx_http_finalize_request_body()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 25 Jan 2007 08:45:04 +0000 |
parents | 82b9e57993ec |
children | a77f6980de50 |
comparison
equal
deleted
inserted
replaced
1074:8164f479b362 | 1075:4d203f76b757 |
---|---|
361 ctx = ngx_http_get_module_ctx(r, ngx_http_perl_module); | 361 ctx = ngx_http_get_module_ctx(r, ngx_http_perl_module); |
362 ctx->next = SvRV(ST(1)); | 362 ctx->next = SvRV(ST(1)); |
363 | 363 |
364 r->request_body_in_single_buf = 1; | 364 r->request_body_in_single_buf = 1; |
365 r->request_body_in_persistent_file = 1; | 365 r->request_body_in_persistent_file = 1; |
366 r->request_body_delete_incomplete_file = 1; | 366 r->request_body_in_clean_file = 1; |
367 | 367 |
368 if (r->request_body_in_file_only) { | 368 if (r->request_body_in_file_only) { |
369 r->request_body_file_log_level = 0; | 369 r->request_body_file_log_level = 0; |
370 } | 370 } |
371 | 371 |