Mercurial > hg > nginx-vendor-1-0
diff src/http/modules/perl/nginx.xs @ 166:fef68f68bcfd NGINX_0_3_30
nginx 0.3.30
*) Change: the ECONNABORTED error log level was changed to "error" from
"crit".
*) Bugfix: the ngx_http_perl_module could not be build without the
ngx_http_ssi_filter_module.
*) Bugfix: nginx could not be built on i386 platform, if the PIC was
used; bug appeared in 0.3.27.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 22 Feb 2006 00:00:00 +0300 |
parents | 6be073125f2e |
children | 87699398f955 |
line wrap: on
line diff
--- a/src/http/modules/perl/nginx.xs +++ b/src/http/modules/perl/nginx.xs @@ -47,7 +47,9 @@ ngx_http_perl_sv2str(pTHX_ ngx_http_requ static ngx_int_t ngx_http_perl_output(ngx_http_request_t *r, ngx_buf_t *b) { - ngx_chain_t *cl, out; + ngx_chain_t out; +#if (NGX_HTTP_SSI) + ngx_chain_t *cl; ngx_http_perl_ctx_t *ctx; ctx = ngx_http_get_module_ctx(r, ngx_http_perl_module); @@ -65,6 +67,7 @@ ngx_http_perl_output(ngx_http_request_t return NGX_OK; } +#endif out.buf = b; out.next = NULL;