]> git.kaiwu.me - nginx.git/commitdiff
merge r3318, r3449:
authorIgor Sysoev <igor@sysoev.ru>
Mon, 7 Jun 2010 08:51:48 +0000 (08:51 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 7 Jun 2010 08:51:48 +0000 (08:51 +0000)
perl related fixes:

*) do not log error if $r->variable was not found
*) delete ngx_http_perl_cleanup_t unused since r909

src/http/modules/perl/nginx.xs
src/http/modules/perl/ngx_http_perl_module.c

index 077cf0ddf8026103050630aea1c3d655057646c1..994fc4ed09b5835c2ce2f785572eefaa164d1c4c 100644 (file)
@@ -901,9 +901,6 @@ variable(r, name, value = NULL)
             XSRETURN_UNDEF;
         }
 
-        ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
-                      "variable \"%V\" not found", &var);
-
         XSRETURN_UNDEF;
     }
 
index 6ba5a4d9e73ab2aca53690cc793117d430fa4739..7688cf61d8879f4395b43038ceb04ec072624525 100644 (file)
@@ -30,12 +30,6 @@ typedef struct {
 } ngx_http_perl_variable_t;
 
 
-typedef struct {
-    SV                *sv;
-    PerlInterpreter   *perl;
-} ngx_http_perl_cleanup_t;
-
-
 #if (NGX_HTTP_SSI)
 static ngx_int_t ngx_http_perl_ssi(ngx_http_request_t *r,
     ngx_http_ssi_ctx_t *ssi_ctx, ngx_str_t **params);