comparison src/http/modules/perl/ngx_http_perl_module.c @ 528:005a70f9573b NGINX_0_8_16

nginx 0.8.16 *) Feature: the "image_filter_transparency" directive. *) Bugfix: "addition_types" directive was incorrectly named "addtion_types". *) Bugfix: resolver cache poisoning. Thanks to Matthew Dempsky. *) Bugfix: memory leak in resolver. Thanks to Matthew Dempsky. *) Bugfix: invalid request line in $request variable was written in access_log only if error_log was set to "info" or "debug" level. *) Bugfix: in PNG alpha-channel support in the ngx_http_image_filter_module. *) Bugfix: nginx always added "Vary: Accept-Encoding" response header line, if both "gzip_static" and "gzip_vary" were on. *) Bugfix: in UTF-8 encoding support by "try_files" directive in nginx/Windows. *) Bugfix: in "post_action" directive usage; the bug had appeared in 0.8.11. Thanks to Igor Artemiev.
author Igor Sysoev <http://sysoev.ru>
date Tue, 22 Sep 2009 00:00:00 +0400
parents 0161f3197817
children f7ec98e3caeb
comparison
equal deleted inserted replaced
527:a607f3a5aefe 528:005a70f9573b
759 if (*p != ' ' && *p != '\t' && *p != CR && *p != LF) { 759 if (*p != ' ' && *p != '\t' && *p != CR && *p != LF) {
760 break; 760 break;
761 } 761 }
762 } 762 }
763 763
764 if (ngx_strncmp(p, "sub ", 4) == 0 || ngx_strncmp(p, "use ", 4) == 0) { 764 if (ngx_strncmp(p, "sub ", 4) == 0
765 || ngx_strncmp(p, "sub{", 4) == 0
766 || ngx_strncmp(p, "use ", 4) == 0)
767 {
765 *sv = eval_pv((char *) p, FALSE); 768 *sv = eval_pv((char *) p, FALSE);
766 769
767 /* eval_pv() does not set ERRSV on failure */ 770 /* eval_pv() does not set ERRSV on failure */
768 771
769 return; 772 return;