comparison 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
comparison
equal deleted inserted replaced
165:c461f0beadb0 166:fef68f68bcfd
45 45
46 46
47 static ngx_int_t 47 static ngx_int_t
48 ngx_http_perl_output(ngx_http_request_t *r, ngx_buf_t *b) 48 ngx_http_perl_output(ngx_http_request_t *r, ngx_buf_t *b)
49 { 49 {
50 ngx_chain_t *cl, out; 50 ngx_chain_t out;
51 #if (NGX_HTTP_SSI)
52 ngx_chain_t *cl;
51 ngx_http_perl_ctx_t *ctx; 53 ngx_http_perl_ctx_t *ctx;
52 54
53 ctx = ngx_http_get_module_ctx(r, ngx_http_perl_module); 55 ctx = ngx_http_get_module_ctx(r, ngx_http_perl_module);
54 56
55 if (ctx->ssi) { 57 if (ctx->ssi) {
63 *ctx->ssi->last_out = cl; 65 *ctx->ssi->last_out = cl;
64 ctx->ssi->last_out = &cl->next; 66 ctx->ssi->last_out = &cl->next;
65 67
66 return NGX_OK; 68 return NGX_OK;
67 } 69 }
70 #endif
68 71
69 out.buf = b; 72 out.buf = b;
70 out.next = NULL; 73 out.next = NULL;
71 74
72 return ngx_http_output_filter(r, &out); 75 return ngx_http_output_filter(r, &out);