comparison src/http/modules/perl/nginx.xs @ 3500:0eb46e3c5c02

change processing variables accessed by SSI and perl module: *) the indexed variables are always flushed *) never show warning for not found variables
author Igor Sysoev <igor@sysoev.ru>
date Thu, 22 Apr 2010 14:02:45 +0000
parents de70f912ad58
children 8cd7594916ec
comparison
equal deleted inserted replaced
3499:b4a14d50388b 3500:0eb46e3c5c02
846 "perl variable: \"%V\"", &var); 846 "perl variable: \"%V\"", &var);
847 } 847 }
848 848
849 #endif 849 #endif
850 850
851 vv = ngx_http_get_variable(r, &var, hash, 1); 851 vv = ngx_http_get_variable(r, &var, hash);
852 if (vv == NULL) { 852 if (vv == NULL) {
853 XSRETURN_UNDEF; 853 XSRETURN_UNDEF;
854 } 854 }
855 855
856 if (vv->not_found) { 856 if (vv->not_found) {