comparison src/http/modules/perl/nginx.xs @ 278:704622b2528a NGINX_0_5_9

nginx 0.5.9 *) Change: now the ngx_http_memcached_module uses the $memcached_key variable value as a key. *) Feature: the $memcached_key variable. *) Feature: the "clean" parameter in the "client_body_in_file_only" directive. *) Feature: the "env" directive. *) Feature: the "sendfile" directive is available inside the "if" block. *) Feature: now on failure of the writing to access nginx logs a message to error_log, but not more often than once a minute. *) Bugfix: the "access_log off" directive did not always turn off the logging.
author Igor Sysoev <http://sysoev.ru>
date Thu, 25 Jan 2007 00:00:00 +0300
parents c5c2b2883984
children 30862655219e
comparison
equal deleted inserted replaced
277:b3aec7787b8e 278:704622b2528a
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